diff options
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 1539552..a7d71a0 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -596,7 +596,7 @@ funlike_invocation_p (pfile, node, list) const cpp_hashnode *node; struct toklist *list; { - cpp_context *orig, *final; + cpp_context *orig; cpp_token maybe_paren; macro_arg *args = 0; cpp_lexer_pos macro_pos; @@ -618,7 +618,6 @@ funlike_invocation_p (pfile, node, list) node->name); /* Restore original context. */ - final = pfile->context; pfile->context = orig; pfile->state.prevent_expansion--; pfile->state.parsing_args = 0; @@ -639,13 +638,6 @@ funlike_invocation_p (pfile, node, list) free (args); } - /* Re-disable macros *after* pre-expansion. */ - while (final != orig) - { - final = final->next; - final->macro->disabled = 1; - } - return args != 0; } |