]> gcc.gnu.org Git - gcc.git/commit
cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
authorNeil Booth <neilb@earthling.net>
Wed, 12 Jul 2000 14:37:47 +0000 (14:37 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 12 Jul 2000 14:37:47 +0000 (14:37 +0000)
commit2964d54fa66aceb9a7637a6c9b05e83da73fbf17
tree72b34acb36220595f92d8f0fb9b891d3aafb73a4
parentb9161f44f010d95884a05be53d062f26fe3d4c7d
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
gcc/ChangeLog
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplex.c
This page took 0.050086 seconds and 5 git commands to generate.