diff options
| author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-27 23:19:56 +0000 |
|---|---|---|
| committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-27 23:19:56 +0000 |
| commit | d2efb5ed26852ca5f51c34fc05058b136277476c (patch) | |
| tree | ff9a2b403a2c145b28540e1d32020de18ec3ff6c /gcc/cppexp.c | |
| parent | 2ed6c34332055a5b2585501877216b8282ac9991 (diff) | |
| download | ppe42-gcc-d2efb5ed26852ca5f51c34fc05058b136277476c.tar.gz ppe42-gcc-d2efb5ed26852ca5f51c34fc05058b136277476c.zip | |
* cppexp.c (parse_assertion): Supply extra argument to
_cpp_init_toklist.
* cpplib.c (do_assert, do_unassert): Similarly.
* cpphash.h (_cpp_init_toklist) Update.
(_cpp_expand_token_space): New.
(DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
* cpplex.c (_cpp_init_toklist): New argument.
(parse_string2): New argument multiline_ok.
(spell_token): Take a const cpp_token *.
(INIT_NAME): Replace with INIT_TOKEN_NAME. Update tokens_used.
(SPELL_ macros): Replace with enum.
(expand_token_space): Replace with _cpp_expand_token_space.
Take COUNT argument.
(IS_DIRECTIVE): Update.
(_cpp_lex_line): Update token structure before parsing number.
Don't assume start at beginning of token list.
(save_comment): Use INIT_TOKEN_NAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34214 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppexp.c')
| -rw-r--r-- | gcc/cppexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 4e619150487..e823232cee7 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -423,7 +423,7 @@ parse_assertion (pfile) if (_cpp_get_directive_token (pfile) != CPP_OPEN_PAREN) CPP_ICE ("impossible token, expecting ( in parse_assertion"); - _cpp_init_toklist (&query); + _cpp_init_toklist (&query, NO_DUMMY_TOKEN); specific = 1; if (_cpp_scan_until (pfile, &query, CPP_CLOSE_PAREN) != CPP_CLOSE_PAREN) SYNTAX_ERROR ("missing close paren on assertion answer"); |

