]> gcc.gnu.org Git - gcc.git/commit - libcpp/lex.c
cpptrad.c (struct block, [...]): New.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Fri, 7 Jun 2002 06:26:32 +0000 (06:26 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 7 Jun 2002 06:26:32 +0000 (06:26 +0000)
commitc70f6ed31478e27420d2038d09f3a343422db22f
tree6aed42053a56ed0593bc263de6125d7efc67c493
parentaec2ac46a748e1d224db7cf7ce05a4516918c8ff
cpptrad.c (struct block, [...]): New.

* cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN,
scan_parameters, save_replacement_text, replacement_length): New.
(scan_out_logical_line): Take a macro and save parameters if
non-NULL.
(_cpp_logical_line_trad): Update.
(_cpp_create_trad_definition): Update to handle function-like
macros.
* cpplex.c (new_buff): Update.
(struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move...
* cpphash.h: ...here.
(CPP_ALIGN2, _cpp_save_parameter): New.
* cppmacro.c (save_parameter): Rename, export.
(parse_params): Update.

From-SVN: r54331
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplex.c
gcc/cppmacro.c
gcc/cpptrad.c
This page took 0.058259 seconds and 5 git commands to generate.