summaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-06 18:43:32 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-06 18:43:32 +0000
commit33344a1ca6e19d836b7295b368aa3aeb8c31bdb1 (patch)
tree7c3e54eeed36fe96129f61bda5ccc8088000d6e9 /gcc/cppexp.c
parentba8480002dae05bdcb5158f21ace8ac5fff51c32 (diff)
downloadgcc-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/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 566eb15dac8..55b633e6569 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)