mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
style: fix a few remaining 'type' instead of 'kind'
* data/skeletons/glr.c, data/skeletons/yacc.c (YY_SYMBOL_PRINT): Here.
This commit is contained in:
@@ -352,7 +352,7 @@ m4_define([b4_symbol_type_define],
|
||||
break;
|
||||
}
|
||||
|
||||
// Type destructor.
|
||||
// Value type destructor.
|
||||
]b4_symbol_variant([[yykind]], [[value]], [[template destroy]])])[
|
||||
Base::clear ();
|
||||
}
|
||||
|
||||
@@ -669,12 +669,12 @@ yysymbol_name (yysymbol_kind_t yysymbol)
|
||||
|
||||
]b4_yy_symbol_print_define[
|
||||
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||||
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
|
||||
do { \
|
||||
if (yydebug) \
|
||||
{ \
|
||||
YY_FPRINTF ((stderr, "%s ", Title)); \
|
||||
yy_symbol_print (stderr, Type, Value]b4_locuser_args([Location])[); \
|
||||
yy_symbol_print (stderr, Kind, Value]b4_locuser_args([Location])[); \
|
||||
YY_FPRINTF ((stderr, "\n")); \
|
||||
} \
|
||||
} while (0)
|
||||
@@ -691,7 +691,7 @@ static void yypdumpstack (yyGLRStack* yystackp)
|
||||
#else /* !]b4_api_PREFIX[DEBUG */
|
||||
|
||||
# define YY_DPRINTF(Args) do {} while (yyfalse)
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
|
||||
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
|
||||
|
||||
#endif /* !]b4_api_PREFIX[DEBUG */
|
||||
|
||||
|
||||
@@ -767,13 +767,13 @@ do { \
|
||||
|
||||
]b4_yy_location_print_define[
|
||||
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||||
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
|
||||
do { \
|
||||
if (yydebug) \
|
||||
{ \
|
||||
YYFPRINTF (stderr, "%s ", Title); \
|
||||
yy_symbol_print (stderr, \
|
||||
Type, Value]b4_locations_if([, Location])[]b4_user_args[); \
|
||||
Kind, Value]b4_locations_if([, Location])[]b4_user_args[); \
|
||||
YYFPRINTF (stderr, "\n"); \
|
||||
} \
|
||||
} while (0)
|
||||
@@ -841,7 +841,7 @@ do { \
|
||||
int yydebug;
|
||||
#else /* !]b4_api_PREFIX[DEBUG */
|
||||
# define YYDPRINTF(Args) ((void) 0)
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
|
||||
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
|
||||
# define YY_STACK_PRINT(Bottom, Top)
|
||||
# define YY_REDUCE_PRINT(Rule)
|
||||
#endif /* !]b4_api_PREFIX[DEBUG */
|
||||
|
||||
Reference in New Issue
Block a user