]> git.saurik.com Git - bison.git/commit - data/glr.c
* tests/glr-regression.at (Leaked semantic values when reporting
authorJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 4 Mar 2006 03:29:03 +0000 (03:29 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 4 Mar 2006 03:29:03 +0000 (03:29 +0000)
commitae952af2272fd49967349ca7280fec8c3937fb0f
tree87461639f72269b3f1830ff5b1abe76674b3715e
parent35ee866a326351fe074945f67f4801fd6b829def
* tests/glr-regression.at (Leaked semantic values when reporting
ambiguity): Remove unnecessary union and type declarations.
(Leaked lookahead after nondeterministic parse syntax error): New test
case.
* data/glr.c (yyparse): Check for zero stacks remaining before
attempting to shift the lookahead so that you don't lose it.
ChangeLog
data/glr.c
tests/glr-regression.at