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.
(cherry picked from commit d115aad911)

Conflicts:

	TODO
	data/yacc.c
This commit is contained in:
Akim Demaille
2012-01-25 16:57:58 +01:00
parent 7aadf26359
commit 94556574b5
4 changed files with 81 additions and 12 deletions

2
NEWS
View File

@@ -7,6 +7,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: