aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-11-06 18:43:32 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-11-06 18:43:32 +0000
commit6c53ebffc53b500722f4de9ad4c225ee199c5ca6 (patch)
tree7c3e54eeed36fe96129f61bda5ccc8088000d6e9 /gcc/cppexp.c
parentd1877a9b13bf14c010facc0618e57ba7a789e468 (diff)
downloadgcc-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/cppexp.c')
-rw-r--r--gcc/cppexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 566eb15..55b633e 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -401,10 +401,10 @@ lex (pfile, skip_evaluation, token)
SYNTAX_ERROR ("floating point numbers are not valid in #if");
case CPP_OTHER:
- if (ISGRAPH (token->val.aux))
- SYNTAX_ERROR2 ("invalid character '%c' in #if", token->val.aux);
+ if (ISGRAPH (token->val.c))
+ SYNTAX_ERROR2 ("invalid character '%c' in #if", token->val.c);
else
- SYNTAX_ERROR2 ("invalid character '\\%03o' in #if", token->val.aux);
+ SYNTAX_ERROR2 ("invalid character '\\%03o' in #if", token->val.c);
case CPP_NAME:
if (token->val.node == pfile->spec_nodes.n_defined)