glr2.cc: style: s/Type/Kind/g

* data/skeletons/glr2.cc (YY_SYMBOL_PRINT): Use Kind, not Type.
As in the other skeletons.
This commit is contained in:
Akim Demaille
2020-12-19 06:44:40 +01:00
parent 80664353b2
commit 66706a7c19

View File

@@ -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 */