Merge 3.7.6 into master

* maint:
  maint: post-release administrivia
  version 3.7.6
  yacc: fix push parser
  tables: fix again the handling of useless tokens
This commit is contained in:
Akim Demaille
2021-03-10 06:41:59 +01:00
5 changed files with 159 additions and 14 deletions

17
NEWS
View File

@@ -97,6 +97,21 @@ GNU Bison NEWS
Users may define `YYLOCATION_PRINT` to cover other cases.
* Noteworthy changes in release 3.7.6 (2021-03-08) [stable]
** Bug fixes
*** Reused Push Parsers
When a push-parser state structure is used for multiple parses, it was
possible for some state to leak from one run into the following one.
*** Fix Table Generation
In some very rare conditions, when there are many useless tokens, it was
possible to generate incorrect parsers.
* Noteworthy changes in release 3.7.5 (2021-01-24) [stable]
** Bug fixes
@@ -380,7 +395,7 @@ GNU Bison NEWS
parse errors, since `yynerrs` was also reset. This can be especially
troublesome when used in autocompletion, since a parser with error
recovery would suggest (irrelevant) expected tokens even if there were
failure.
failures.
Now the parser state can be examined when parsing is finished. The parser
state is reset when starting a new parse.