mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-30 21:15:16 +00:00
Quoc Peyrot <[email protected]>,
Robert Anisko <[email protected]> * data/lalr1.cc (parse::yyerrlab1): When popping the stack, stop when the stacks contain one element, as the loop would otherwise free the last state, and then use the top state (the one we just popped). This means that the initial elements will not be freed explicitly, as is the case in yacc.c; it is not a problem, as these elements have fake values.
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
2003-01-13 Akim Demaille <[email protected]>,
|
||||
Quoc Peyrot <[email protected]>,
|
||||
Robert Anisko <[email protected]>
|
||||
|
||||
* data/lalr1.cc (parse::yyerrlab1): When popping the stack, stop
|
||||
when the stacks contain one element, as the loop would otherwise
|
||||
free the last state, and then use the top state (the one we just
|
||||
popped). This means that the initial elements will not be freed
|
||||
explicitly, as is the case in yacc.c; it is not a problem, as
|
||||
these elements have fake values.
|
||||
|
||||
2003-01-11 Paul Eggert <[email protected]>
|
||||
|
||||
* NEWS: %expect-violations are now just warnings, reverting
|
||||
|
||||
Reference in New Issue
Block a user