]> git.saurik.com Git - bison.git/commit
c++: fix the use of destructors when variants are enabled
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 9 Jan 2015 11:01:22 +0000 (12:01 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 9 Jan 2015 12:54:58 +0000 (13:54 +0100)
commitee028dceff390a23da391900b5b7fe651cfe320c
tree627070b36e565da84fab208d9981ca0f70020ef5
parente1d06b523570e462923d4e9e80465ae4772754fa
c++: fix the use of destructors when variants are enabled

When using variants, destructors generate invalid code.
<http://lists.gnu.org/archive/html/bug-bison/2014-09/msg00005.html>
Reported by Michael Catanzaro.

* data/c++.m4 (~basic_symbol): b4_symbol_foreach works on yysym:
define it.
* tests/c++.at (Variants): Check it.
NEWS
THANKS
data/c++.m4
tests/c++.at