mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 22:03:02 +00:00
* 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.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,12 @@
|
||||
2006-03-04 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||
|
||||
* 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.
|
||||
|
||||
2006-03-02 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||
|
||||
Avoid memory leaks by not invoking longjmp in yyreportAmbiguity.
|
||||
@@ -23,7 +32,7 @@
|
||||
* data/glr.c (yydestroyGLRState): In debugging output, distinguish
|
||||
between an unresolved state (non-empty chain of semantic options) and
|
||||
an incomplete one (signaled by an empty chain).
|
||||
(yyresolveStates): Document the interface. Move all manipulation of an
|
||||
(yyresolveStates): Document the interface. Move all manipulation of a
|
||||
successfully or unsuccessfully resolved yyGLRState to...
|
||||
(yyresolveValue): ... here so that yyresolveValue always leaves a
|
||||
yyGLRState with consistent data and thus is easier to understand.
|
||||
|
||||
Reference in New Issue
Block a user