Skip to content

Commit 66706a7

Browse files
committed
glr2.cc: style: s/Type/Kind/g
* data/skeletons/glr2.cc (YY_SYMBOL_PRINT): Use Kind, not Type. As in the other skeletons.
1 parent 8066435 commit 66706a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/skeletons/glr2.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,12 +649,12 @@ enum YYRESULTTAG { yyok, yyaccept, yyabort, yyerr };
649649
650650
#define YY_DEBUG_STREAM if (!yydebug) {} else std::cerr
651651
652-
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
652+
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
653653
do { \
654654
if (yydebug) \
655655
{ \
656656
std::cerr << Title << ' '; \
657-
yyparser.yy_symbol_print_ (Type, Value]b4_locations_if([, Location])[); \
657+
yyparser.yy_symbol_print_ (Kind, Value]b4_locations_if([, Location])[); \
658658
std::cerr << '\n'; \
659659
} \
660660
} while (0)
@@ -672,7 +672,7 @@ static void yypdumpstack (glr_stack* yystackp)
672672
#else /* !]b4_api_PREFIX[DEBUG */
673673
674674
# define YY_DEBUG_STREAM if (true) {} else std::cerr
675-
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
675+
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
676676
677677
#endif /* !]b4_api_PREFIX[DEBUG */
678678

0 commit comments

Comments
 (0)