From: Akim Demaille Date: Fri, 9 Jan 2015 11:01:22 +0000 (+0100) Subject: c++: fix the use of destructors when variants are enabled X-Git-Tag: v3.0.3~6 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/ee028dceff390a23da391900b5b7fe651cfe320c?hp=ee028dceff390a23da391900b5b7fe651cfe320c c++: fix the use of destructors when variants are enabled When using variants, destructors generate invalid code. Reported by Michael Catanzaro. * data/c++.m4 (~basic_symbol): b4_symbol_foreach works on yysym: define it. * tests/c++.at (Variants): Check it. ---