diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-06 18:43:32 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-06 18:43:32 +0000 |
commit | 33344a1ca6e19d836b7295b368aa3aeb8c31bdb1 (patch) | |
tree | 7c3e54eeed36fe96129f61bda5ccc8088000d6e9 /gcc/c-lex.c | |
parent | ba8480002dae05bdcb5158f21ace8ac5fff51c32 (diff) | |
download | gcc-33344a1ca6e19d836b7295b368aa3aeb8c31bdb1.tar.gz |
* c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
tok.val.arg_no as appropriate.
* cppexp.c (lex): Similarly.
* cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
* cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
cpp_macro_definition): Similarly.
* cpplib.h (struct cpp_token): Replace aux with c and arg_no.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 18a50cb42af..4d4e4815c5f 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1440,12 +1440,12 @@ c_lex (value) case CPP_OPEN_BRACE: indent_level++; break; case CPP_CLOSE_BRACE: indent_level--; break; - /* Issue this error here, where we can get at tok.val.aux. */ + /* Issue this error here, where we can get at tok.val.c. */ case CPP_OTHER: - if (ISGRAPH (tok.val.aux)) - error ("stray '%c' in program", tok.val.aux); + if (ISGRAPH (tok.val.c)) + error ("stray '%c' in program", tok.val.c); else - error ("stray '\\%#o' in program", tok.val.aux); + error ("stray '\\%#o' in program", tok.val.c); goto retry; case CPP_NAME: |