cpphash.h (_cpp_push_text_context): Update.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 9 Jun 2002 20:04:17 +0000 (20:04 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 9 Jun 2002 20:04:17 +0000 (20:04 +0000)
commit1ce676a061d91b434a62d90d7a2f5d8fdf07e8af
treea2b5349f1ee2ab348cfc3c37c8f4c9a4ca8a6b1b
parent25f2e176414291186a206bb5f7cdc3e98563b38b
cpphash.h (_cpp_push_text_context): Update.

* 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 '('.

From-SVN: r54412
gcc/ChangeLog
gcc/cpphash.h
gcc/cppmacro.c
gcc/cpptrad.c