diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-10-21 08:08:37 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-10-21 08:28:47 +0200 |
commit | 098f5084a04b8d6efa3ccf7d039f07cc28282762 (patch) | |
tree | 6e17176d609d583d5f0d0634ac12165bd2ee0ce7 /tests/types.at | |
parent | 07a4b32f4dbb92eb0aad110cdf8060ab65dae49a (diff) | |
download | bison-098f5084a04b8d6efa3ccf7d039f07cc28282762.tar.gz |
tests: rename AT_SKEL_CC_IF/AT_SKEL_JAVA_IF as AT_CXX_IF/AT_JAVA_IF
The previous name is too obscure, and the other macros for C++ use
CXX, not CC.
* tests/local.at (AT_SKEL_CC_IF, AT_SKEL_JAVA_IF): Rename as...
(AT_CXX_IF, AT_JAVA_IF): these.
Adjust callers.
Diffstat (limited to 'tests/types.at')
-rw-r--r-- | tests/types.at | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/types.at b/tests/types.at index e31af74b..6f44e93d 100644 --- a/tests/types.at +++ b/tests/types.at @@ -182,8 +182,8 @@ m4_foreach([b4_skel], [[yacc.c], [glr.c], [lalr1.cc], [glr.cc]], }; } %token <up->ival> '1' '2' - %printer { ]AT_SKEL_CC_IF([[yyo << $$]], - [[fprintf (yyo, "%d", $$)]])[; } <up->ival> + %printer { ]AT_CXX_IF([[yyo << $$]], + [[fprintf (yyo, "%d", $$)]])[; } <up->ival> ], ['1' '2' { @@ -238,10 +238,10 @@ m4_foreach([b4_skel], [[yacc.c], [glr.c], [lalr1.cc], [glr.cc]], %define api.value.type union], [%token <int> ONE 101; %token <float> TWO 102 THREE 103; - %printer { ]AT_SKEL_CC_IF([[yyo << $$]], - [[fprintf (yyo, "%d", $$)]])[; } <int> - %printer { ]AT_SKEL_CC_IF([[yyo << $$]], - [[fprintf (yyo, "%f", $$)]])[; } <float> + %printer { ]AT_CXX_IF([[yyo << $$]], + [[fprintf (yyo, "%d", $$)]])[; } <int> + %printer { ]AT_CXX_IF([[yyo << $$]], + [[fprintf (yyo, "%f", $$)]])[; } <float> ], [ONE TWO THREE { printf ("%d %2.1f %2.1f\n", $1, $2, $3); }], [{ 101, 102, 103, EOF }], |