glr2.cc dearly needs (or direly needs? I never could tell the difference) more tests, as demonstrated by the current failure of examples/c++/glr. This series of commits makes it much easier to check glr2.cc on these tests (but does not add glr2.cc tests yet).
The good, or bad, news is that glr2.cc fails at least the first of them. I have not tried the others yet. I'll push this series when validated by the CI. Akim Demaille (7): glr.cc: don't "leak" yyparse tests: formatting changes tests: factor the access to token kinds tests: glr: prefer directives to warnings tests: glr: use AT_FULL_COMPILE tests: glr: prepare for more languages tests: glr: run the glr regression tests with glr.cc data/skeletons/glr.c | 4 +- data/skeletons/glr.cc | 2 +- tests/actions.at | 5 +- tests/c++.at | 12 +- tests/calc.at | 10 +- tests/glr-regression.at | 920 ++++++++++++++++++++++++---------------- tests/local.at | 22 +- 7 files changed, 572 insertions(+), 403 deletions(-) -- 2.29.2
