]> git.saurik.com Git - bison.git/commit
yacc: fix YYBACKUP.
authorAkim Demaille <demaille@gostai.com>
Wed, 25 Jan 2012 15:57:58 +0000 (16:57 +0100)
committerAkim Demaille <demaille@gostai.com>
Thu, 26 Jan 2012 20:36:35 +0000 (21:36 +0100)
commit94556574b56eed6d42395bf8264f1ee9eec08eac
treee6d6942267724b0b91345f513b0c566784741f2e
parent7aadf26359e95f8b113c972e42155c908bb850b8
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 d115aad9112fb4e2fe1b268c9db7390732d39539)

Conflicts:

TODO
data/yacc.c
NEWS
THANKS
data/yacc.c
tests/actions.at