OSDN Git Service

* cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN,
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2002 06:26:32 +0000 (06:26 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2002 06:26:32 +0000 (06:26 +0000)
commit198b48a003250a3678f6fa816a016a196e81e6bb
tree6aed42053a56ed0593bc263de6125d7efc67c493
parentb177c3c29498a92c2ec45ef0f4daaeba896c20ba
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54331 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplex.c
gcc/cppmacro.c
gcc/cpptrad.c