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
2020-03-04 00:28:59 +01:00
parent 2f83ef57f3
commit 9cc76ee62c
2 changed files with 6 additions and 10 deletions

3
TODO
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