diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-09 20:04:17 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-09 20:04:17 +0000 |
commit | 0602564743c89e52f31a4dc5518e14a80c372d57 (patch) | |
tree | a2b5349f1ee2ab348cfc3c37c8f4c9a4ca8a6b1b /gcc/cpphash.h | |
parent | fcb03982fa3c6c87a1e108b1ff0c66107d2b4088 (diff) | |
download | gcc-0602564743c89e52f31a4dc5518e14a80c372d57.tar.gz |
* cpphash.h (_cpp_push_text_context): Update.
(_cpp_arguments_ok): New.
* cppmacro.c (_cpp_arguments_ok): New, split out from...
(collect_args): ...here.
(_cpp_push_text_context): Change inputs.
* cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument,
replace_args_and_push): New.
(lex_identifier, _cpp_lex_identifier_trad, scan_parameters):
Don't use IS macros directly.
(scan_out_logical_line): Handle function-like macro argument
collection.
(push_replacement_text): Update.
(replacement_length): Remove.
(_cpp_create_trad_definition): Don't skip whitespace before
checking for '('.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54412 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 9a4915daf72..6baf211958d 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -438,9 +438,12 @@ extern void _cpp_free_definition PARAMS ((cpp_hashnode *)); extern bool _cpp_create_definition PARAMS ((cpp_reader *, cpp_hashnode *)); extern void _cpp_pop_context PARAMS ((cpp_reader *)); extern void _cpp_push_text_context PARAMS ((cpp_reader *, cpp_hashnode *, - const uchar *, const uchar*)); + const uchar *, size_t)); extern bool _cpp_save_parameter PARAMS ((cpp_reader *, cpp_macro *, cpp_hashnode *)); +extern bool _cpp_arguments_ok PARAMS ((cpp_reader *, cpp_macro *, + const cpp_hashnode *, + unsigned int)); /* In cpphash.c */ extern void _cpp_init_hashtable PARAMS ((cpp_reader *, hash_table *)); |