diff options
author | Neil Booth <neilb@earthling.net> | 2000-07-12 14:37:47 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-07-12 14:37:47 +0000 |
commit | 2964d54fa66aceb9a7637a6c9b05e83da73fbf17 (patch) | |
tree | 72b34acb36220595f92d8f0fb9b891d3aafb73a4 /gcc/fixinc/fixlib.c | |
parent | b9161f44f010d95884a05be53d062f26fe3d4c7d (diff) | |
download | gcc-2964d54fa66aceb9a7637a6c9b05e83da73fbf17.zip gcc-2964d54fa66aceb9a7637a6c9b05e83da73fbf17.tar.gz gcc-2964d54fa66aceb9a7637a6c9b05e83da73fbf17.tar.bz2 |
cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
* cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
* cpplex.c (TOKEN_SPELL) Move to cpphash.h.
* cpphash.c: (struct macro_info, alloc_macro, free_macro,
struct toklist_dummy): New.
(cpp_free_definition): Free macros with free_macro.
(count_params): Don't save paramter spellings. Save macro
information in a struct macro_info.
(parse_define): Don't allocate a token list.
(save_expansion): Allocate the macro's token list, and
save parameter spellings if necessary. Use TOKEN_SPELL.
(cpp_create_definition): Make list const.
From-SVN: r34985
Diffstat (limited to 'gcc/fixinc/fixlib.c')
0 files changed, 0 insertions, 0 deletions