diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-14 19:35:08 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-14 19:35:08 +0000 |
commit | a910aa9d3fd80657bccbd526cfd86d7ed374ed02 (patch) | |
tree | 89ee63cfa3141e40d8e17c5c20b7ea0f80c0f8bd /gcc/cpphash.h | |
parent | c9e066df285fbe8d89c713046b9ee7e4e583809d (diff) | |
download | gcc-a910aa9d3fd80657bccbd526cfd86d7ed374ed02.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40467 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index df27e7325b9..5d452c38661 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -409,7 +409,7 @@ extern cpp_hashnode *_cpp_lookup_with_hash PARAMS ((cpp_reader*, size_t, /* In cppfiles.c */ extern void _cpp_fake_include PARAMS ((cpp_reader *, const char *)); extern void _cpp_never_reread PARAMS ((struct include_file *)); -extern void _cpp_simplify_pathname PARAMS ((char *)); +extern char *_cpp_simplify_pathname PARAMS ((char *)); extern int _cpp_read_file PARAMS ((cpp_reader *, const char *)); extern void _cpp_execute_include PARAMS ((cpp_reader *, const cpp_token *, int, int)); |