diff options
author | Neil Booth <neilb@earthling.net> | 2000-11-06 18:43:32 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-11-06 18:43:32 +0000 |
commit | 6c53ebffc53b500722f4de9ad4c225ee199c5ca6 (patch) | |
tree | 7c3e54eeed36fe96129f61bda5ccc8088000d6e9 /gcc/c-lex.c | |
parent | d1877a9b13bf14c010facc0618e57ba7a789e468 (diff) | |
download | gcc-6c53ebffc53b500722f4de9ad4c225ee199c5ca6.zip gcc-6c53ebffc53b500722f4de9ad4c225ee199c5ca6.tar.gz gcc-6c53ebffc53b500722f4de9ad4c225ee199c5ca6.tar.bz2 |
c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or tok.val.arg_no as appropriate.
* 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.
From-SVN: r37276
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 18a50cb..4d4e481 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: |