aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 5ec84eb..61fa2fe 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -2632,8 +2632,7 @@ lex_one_token (struct parser_state *par_state, bool *is_quoted_name)
if (! scanning_macro_expansion ())
{
char *expanded = macro_expand_next (&pstate->lexptr,
- standard_macro_lookup,
- expression_macro_scope);
+ *expression_macro_scope);
if (expanded)
scan_macro_expansion (expanded);