cpplex.c (_cpp_equiv_tokens): Check arg_no in the CPP_MACRO_ARG case.
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the CPP_MACRO_ARG case. From-SVN: r37277
This commit is contained in:
parent
6c53ebffc5
commit
56051c0abd
@ -1,3 +1,8 @@
|
||||
2000-11-06 Neil Booth <neilb@earthling.net>
|
||||
|
||||
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the
|
||||
CPP_MACRO_ARG case.
|
||||
|
||||
2000-11-06 Neil Booth <neilb@earthling.net>
|
||||
|
||||
* c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
|
||||
|
@ -1433,7 +1433,7 @@ _cpp_equiv_tokens (a, b)
|
||||
case SPELL_CHAR:
|
||||
return a->val.c == b->val.c; /* Character. */
|
||||
case SPELL_NONE:
|
||||
return (a->type != CPP_MACRO_ARG || a->val.c == b->val.c);
|
||||
return (a->type != CPP_MACRO_ARG || a->val.arg_no == b->val.arg_no);
|
||||
case SPELL_IDENT:
|
||||
return a->val.node == b->val.node;
|
||||
case SPELL_STRING:
|
||||
|
Loading…
Reference in New Issue
Block a user