mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 10:43:02 +00:00
style: prefer b4_has_translations_if
* data/skeletons/glr.c, data/skeletons/yacc.c: here.
This commit is contained in:
@@ -626,7 +626,7 @@ yysymbol_name (yysymbol_kind_t yysymbol)
|
|||||||
static const char *const yy_sname[] =
|
static const char *const yy_sname[] =
|
||||||
{
|
{
|
||||||
]b4_symbol_names[
|
]b4_symbol_names[
|
||||||
};]m4_ifdef([b4_translatable], [[
|
};]b4_has_translations_if([[
|
||||||
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
|
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
|
||||||
internationalizable. */
|
internationalizable. */
|
||||||
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
||||||
|
|||||||
@@ -681,7 +681,7 @@ yysymbol_name (yysymbol_kind_t yysymbol)
|
|||||||
static const char *const yy_sname[] =
|
static const char *const yy_sname[] =
|
||||||
{
|
{
|
||||||
]b4_symbol_names[
|
]b4_symbol_names[
|
||||||
};]m4_ifdef([b4_translatable], [[
|
};]b4_has_translations_if([[
|
||||||
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
|
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YY_SNAME[SYMBOL-NUM] is
|
||||||
internationalizable. */
|
internationalizable. */
|
||||||
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
||||||
|
|||||||
Reference in New Issue
Block a user