From 66706a7c1925f25074e8c47fad7254b3e07a9b8c Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 19 Dec 2020 06:44:40 +0100 Subject: [PATCH] glr2.cc: style: s/Type/Kind/g * data/skeletons/glr2.cc (YY_SYMBOL_PRINT): Use Kind, not Type. As in the other skeletons. --- data/skeletons/glr2.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc index 613440acc..1add3ae41 100644 --- a/data/skeletons/glr2.cc +++ b/data/skeletons/glr2.cc @@ -649,12 +649,12 @@ enum YYRESULTTAG { yyok, yyaccept, yyabort, yyerr }; #define YY_DEBUG_STREAM if (!yydebug) {} else std::cerr -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \ do { \ if (yydebug) \ { \ std::cerr << Title << ' '; \ - yyparser.yy_symbol_print_ (Type, Value]b4_locations_if([, Location])[); \ + yyparser.yy_symbol_print_ (Kind, Value]b4_locations_if([, Location])[); \ std::cerr << '\n'; \ } \ } while (0) @@ -672,7 +672,7 @@ static void yypdumpstack (glr_stack* yystackp) #else /* !]b4_api_PREFIX[DEBUG */ # define YY_DEBUG_STREAM if (true) {} else std::cerr -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) #endif /* !]b4_api_PREFIX[DEBUG */