]> gcc.gnu.org Git - gcc.git/commit
cppfiles.c (stack_include_file): Only increase the include count if we actually proce...
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 14 Mar 2001 19:35:08 +0000 (19:35 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 14 Mar 2001 19:35:08 +0000 (19:35 +0000)
commite7182666e6f4b38afd0c0e36be1560a0c26ae4c1
tree89ee63cfa3141e40d8e17c5c20b7ea0f80c0f8bd
parentf80022ff3df97a3f8f47e32ad22b989c7c70c00b
cppfiles.c (stack_include_file): Only increase the include count if we actually process the file properly...

        * cppfiles.c (stack_include_file): Only increase the include
count if we actually process the file properly, as opposed
to treating it as length zero.  Only call read_include_file
if not DO_NOT_REREAD.  Handle the -H include file output
here.
(read_include_file): Remove now redundant DO_NOT_REREAD check.
(cpp_included, find_include_file): Simplify pathnames after
remapping them.  If remapping, don't use the remapped file
name's buffer as our scratch buffer.
(cpp_pop_file_buffer): Replace the multiple include macro
only if it isn't yet set.
(read_name_map): Simplify remapped names when reading in.
(remap_filename): Move code to code path that uses it.
(_cpp_simplify_pathname): Return the input pointer.
* cpphash.h (_cpp_simplify_pathname): Update prototype.

From-SVN: r40467
gcc/ChangeLog
gcc/cppfiles.c
gcc/cpphash.h
This page took 0.057587 seconds and 5 git commands to generate.