yacc: fix YYBACKUP.

Reported by David Kastrup:
https://lists.gnu.org/archive/html/bug-bison/2011-10/msg00002.html.

	* data/yacc.c (YYBACKUP): Accept rhs size.
	Restore the proper state value.
	* TODO (YYBACKUP): Make it...
	* tests/actions.at: a new test case.
	* NEWS, THANKS: Update.
This commit is contained in:
Akim Demaille
2012-01-25 16:57:58 +01:00
parent 2c7f50be62
commit d115aad911
5 changed files with 71 additions and 46 deletions

2
NEWS
View File

@@ -66,6 +66,8 @@ Bison News
** Minor improvements have been made to the manual.
** YYBACKUP works as expected.
* Changes in version 2.5 (2011-05-14):
** Grammar symbol names can now contain non-initial dashes: