diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-18 23:25:06 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-18 23:25:06 +0000 |
commit | 7e842f9508936e2a5915962468405914d633d29e (patch) | |
tree | be6672085587ff8d9d75f630009b64878dc2aec5 /gcc/cppmacro.c | |
parent | e9d42dd4e5966e7c05a23e9af073642347f948f6 (diff) | |
download | ppe42-gcc-7e842f9508936e2a5915962468405914d633d29e.tar.gz ppe42-gcc-7e842f9508936e2a5915962468405914d633d29e.zip |
* cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
macros, not five.
* cpphash.h (TOKEN_NAME): New macro.
(_cpp_spell_operator): Deleted.
(token_spellings): Now _cpp_token_spellings.
* cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
* cpplex.c: Use OP and TK macros when expanding the
TTYPE_TABLE. Eliminate token_names. For non-OPERATOR tokens,
store the stringification of the enumeration name (CPP_CHAR,
etc.) in the name slot of token_spellings.
Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
token_spellings directly.
* cpplib.c: Use TOKEN_SPELL.
* cpplex.c (_cpp_push_token): If the token being pushed back
is the previous token in this context, just subtract one from
context->posn.
* cppmacro.c (save_expansion): Clear aux field when storing a
placemarker.
* gcc.dg/cpp/paste5.c: New test.
* gcc.dg/cpp/vararg1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 710dbdedaa1..3dc973f3b83 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -495,6 +495,7 @@ save_expansion (pfile, info) { dest->type = CPP_PLACEMARKER; dest->flags = 0; + dest->val.aux = 0; } return list; |