diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-04-21 19:21:59 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-04-21 19:21:59 +0000 |
commit | 74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b (patch) | |
tree | 18ec4d7a6b4b870f1e5aa394f9a86c0a58ffc185 /gcc/cpplib.h | |
parent | 65085aa3eff4cbaf515a4fcbb16d2692ecb1ab74 (diff) | |
download | gcc-74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b.zip gcc-74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b.tar.gz gcc-74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b.tar.bz2 |
c-ppoutput.c (cb_include): Don't take a cpp_token.
* c-ppoutput.c (cb_include): Don't take a cpp_token.
* cppfiles.c: Don't undef strcmp.
(find_include_file): Don't take a cpp_token. Check for empty
file names.
(_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
(cpp_push_include): Simplify.
* cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update.
* cpplib.c (glue_header_name): Return the file name, not a cpp_token.
(parse_include): Similary. Don't check for zero-length filenames.
(do_include_common, do_pragma_dependency): Update accordingly.
* cpplib.h (struct cpp_callbacks): Change prototype of include.
From-SVN: r65894
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index ec5f8e4..a9bdb1d 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -375,7 +375,7 @@ struct cpp_callbacks void (*line_change) PARAMS ((cpp_reader *, const cpp_token *, int)); void (*file_change) PARAMS ((cpp_reader *, const struct line_map *)); void (*include) PARAMS ((cpp_reader *, unsigned int, - const unsigned char *, const cpp_token *)); + const unsigned char *, const char *, int)); void (*define) PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *)); void (*undef) PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *)); void (*ident) PARAMS ((cpp_reader *, unsigned int, const cpp_string *)); |