mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-18 21:53:27 +00:00
style: prefer b4_has_translations_if
* data/skeletons/glr.c, data/skeletons/yacc.c: here.
This commit is contained in:
1 parent
bc083be055
commit
9c72d3c5a8
2 files changed
+2
-2
No files matched your search
@@ -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