summaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index c0f5e75be2a..2174014e79a 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -819,7 +819,7 @@ yylex (void)
return c;
case ',':
- if (comma_terminates && paren_depth == 0)
+ if (pstate->comma_terminates && paren_depth == 0)
return 0;
lexptr++;
return c;