diff options
author | Valentin Tolmer <valentin.tolmer@gmail.com> | 2020-07-01 11:02:36 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-08-30 10:45:21 +0200 |
commit | ef09bf065ae2e3d67bf072b35e7fc3e779733087 (patch) | |
tree | 89b15355a22735779397f816965d3094b42f65f8 /tests/local.at | |
parent | a1b7fef045124971053edb0e6d570d0e15cb04f5 (diff) | |
download | bison-ef09bf065ae2e3d67bf072b35e7fc3e779733087.tar.gz |
glr2.cc: fork glr.cc to a c++ version
This is a fork of glr.cc to be c++-first instead of a wrapper around
glr.c.
* data/skeletons/glr2.cc: New.
* data/skeletons/bison.m4, data/skeletons/c++.m4: Adjust.
* data/skeletons/c.m4 (b4_user_args_no_comma): New.
* src/reader.c (grammar_rule_check_and_complete): glr2.cc is C++.
* tests/actions.at, tests/c++.at, tests/calc.at, tests/conflicts.at,
* tests/input.at, tests/local.at, tests/regression.at, tests/scanner.at,
* tests/synclines.at, tests/types.at: Also check glr2.cc.
Diffstat (limited to 'tests/local.at')
-rw-r--r-- | tests/local.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/local.at b/tests/local.at index a4782362..66a59c59 100644 --- a/tests/local.at +++ b/tests/local.at @@ -237,7 +237,7 @@ m4_pushdef([AT_LANG], m4_pushdef([AT_C_IF], [m4_if(AT_LANG, [c], [$1], [$2])]) m4_pushdef([AT_GLR_IF], -[m4_bmatch([$3], [%glr-parser\|%skeleton "glr\..*"], [$1], [$2])]) +[m4_bmatch([$3], [%glr-parser\|%skeleton "glr.*"], [$1], [$2])]) m4_pushdef([AT_LALR1_CC_IF], [AT_CXX_IF([AT_GLR_IF([$2], [$1])], [$2])]) m4_pushdef([AT_GLR_CC_IF], |