From 098f5084a04b8d6efa3ccf7d039f07cc28282762 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 21 Oct 2018 08:08:37 +0200 Subject: 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. --- tests/types.at | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/types.at') 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 ival> '1' '2' - %printer { ]AT_SKEL_CC_IF([[yyo << $$]], - [[fprintf (yyo, "%d", $$)]])[; } ival> + %printer { ]AT_CXX_IF([[yyo << $$]], + [[fprintf (yyo, "%d", $$)]])[; } 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 ONE 101; %token TWO 102 THREE 103; - %printer { ]AT_SKEL_CC_IF([[yyo << $$]], - [[fprintf (yyo, "%d", $$)]])[; } - %printer { ]AT_SKEL_CC_IF([[yyo << $$]], - [[fprintf (yyo, "%f", $$)]])[; } + %printer { ]AT_CXX_IF([[yyo << $$]], + [[fprintf (yyo, "%d", $$)]])[; } + %printer { ]AT_CXX_IF([[yyo << $$]], + [[fprintf (yyo, "%f", $$)]])[; } ], [ONE TWO THREE { printf ("%d %2.1f %2.1f\n", $1, $2, $3); }], [{ 101, 102, 103, EOF }], -- cgit v1.2.1