mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
Destroy the variants that remain on the stack in case of error.
* data/lalr1-fusion.cc (yydestruct_): Invoke the variant's destructor. Display the value only if yymsg is nonnull. (yyreduce): Invoke yydestruct_ when popping lhs symbols.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2008-11-07 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Destroy the variants that remain on the stack in case of error.
|
||||
* data/lalr1-fusion.cc (yydestruct_): Invoke the variant's
|
||||
destructor.
|
||||
Display the value only if yymsg is nonnull.
|
||||
(yyreduce): Invoke yydestruct_ when popping lhs symbols.
|
||||
|
||||
2008-11-07 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Add "%define assert" to variants.
|
||||
|
||||
Reference in New Issue
Block a user