mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
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:
@@ -649,12 +649,12 @@ enum YYRESULTTAG { yyok, yyaccept, yyabort, yyerr };
|
|||||||
|
|
||||||
#define YY_DEBUG_STREAM if (!yydebug) {} else std::cerr
|
#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 { \
|
do { \
|
||||||
if (yydebug) \
|
if (yydebug) \
|
||||||
{ \
|
{ \
|
||||||
std::cerr << Title << ' '; \
|
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'; \
|
std::cerr << '\n'; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
@@ -672,7 +672,7 @@ static void yypdumpstack (glr_stack* yystackp)
|
|||||||
#else /* !]b4_api_PREFIX[DEBUG */
|
#else /* !]b4_api_PREFIX[DEBUG */
|
||||||
|
|
||||||
# define YY_DEBUG_STREAM if (true) {} else std::cerr
|
# 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 */
|
#endif /* !]b4_api_PREFIX[DEBUG */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user