]> git.saurik.com Git - bison.git/commit
Destroy the variants that remain on the stack in case of error.
authorAkim Demaille <demaille@gostai.com>
Mon, 28 Jul 2008 14:01:57 +0000 (16:01 +0200)
committerAkim Demaille <demaille@gostai.com>
Fri, 7 Nov 2008 20:38:10 +0000 (21:38 +0100)
commita3d4c6fbb1b4d7b98bff774bb05e2cb66890a8b1
tree0e13da584ba16c1c6868eceacbd31b53dda37cb3
parent2d32fc9fe2e648418f253405f0be19dc903bf8c9
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.
ChangeLog
data/lalr1-fusion.cc