Move comma_terminates global to parser_state
[external/binutils.git] / gdb / m2-exp.y
index c0f5e75..2174014 100644 (file)
@@ -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;