yacc.c: yyerror_range does not need to be preserved accross calls

* data/skeletons/yacc.c (b4_parse_state_variable_macros): Don't define
yyerror_range.
(yyparse): Add yyerror_range as local variable.
This commit is contained in:
Akim Demaille committed 2020-03-05 07:26:49 +01:00
1 parent 2f83ef57f3
commit 9cc76ee62c
2 files changed
+6 -10

No files matched your search

-3
View File
@@ -95,9 +95,6 @@ See also the item "$undefined" below.
Consider deprecating impure push parsers. They add a lot of complexity, for
a bad feature.
It's not clear to me that yyerror_range really needs to be in pstate,
instead of just being a local variable.
* Bison 3.7
** Unit rules / Injection rules (Akim Demaille)
Maybe we could expand unit rules (or "injections", see