Skip to content

Commit

Permalink
glr2.cc: style: s/Type/Kind/g
Browse files Browse the repository at this point in the history
* data/skeletons/glr2.cc (YY_SYMBOL_PRINT): Use Kind, not Type.
As in the other skeletons.
  • Loading branch information
akimd committed Dec 19, 2020
1 parent 8066435 commit 66706a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/skeletons/glr2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 */
Expand Down

0 comments on commit 66706a7

Please sign in to comment.