This series of patches cleans up the handling of the variants in C++. In a few words: responsibilities have been redistributed where they "naturally" belong.
Akim Demaille (6): c++: formatting and comment changes c++: revamp the support for variants tests: enable support for --debug c++: remove now-useless operators tests: remove useless %defines tests: check that using variants is exception safe data/c++.m4 | 97 +++++++++++++++------------ data/glr.cc | 1 - data/lalr1.cc | 112 +++++++++++++++++--------------- data/stack.hh | 12 ++-- data/variant.hh | 72 ++++++++++---------- tests/actions.at | 6 +- tests/c++.at | 184 +++++++++++++++++++++++++++++++++++++++++----------- tests/input.at | 8 +-- tests/local.at | 11 ++-- tests/regression.at | 5 +- 10 files changed, 321 insertions(+), 187 deletions(-) -- 1.8.1.1
