Move lexptr and prev_lexptr to parser_state
[deliverable/binutils-gdb.git] / gdb / ada-exp.y
index 0cf85c52dd00b82836c5e5cfbecbad7c2d7427b9..f50500c2e7fa98ae1594fe8ecfcd78d42e4a07db 100644 (file)
@@ -745,7 +745,7 @@ ada_parse (struct parser_state *par_state)
 static void
 yyerror (const char *msg)
 {
-  error (_("Error in expression, near `%s'."), lexptr);
+  error (_("Error in expression, near `%s'."), pstate->lexptr);
 }
 
 /* Emit expression to access an instance of SYM, in block BLOCK (if
This page took 0.02438 seconds and 4 git commands to generate.