mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
skeletons: fix incorrect type for translatable tokens
* data/skeletons/glr.c, data/skeletons/lalr1.c, data/skeletons/yacc.c: Fix confusion between the "translatable" and the "translate" tables.
This commit is contained in:
@@ -624,7 +624,7 @@ yysymbol_name (yySymbol yysymbol)
|
|||||||
};]m4_ifdef([b4_translatable], [[
|
};]m4_ifdef([b4_translatable], [[
|
||||||
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
|
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
|
||||||
internationalizable. */
|
internationalizable. */
|
||||||
static ]b4_int_type_for([b4_translate])[ yytranslatable[] =
|
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
||||||
{
|
{
|
||||||
]b4_translatable[
|
]b4_translatable[
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -596,7 +596,7 @@ m4_if(b4_prefix, [yy], [],
|
|||||||
};]m4_ifdef([b4_translatable], [[
|
};]m4_ifdef([b4_translatable], [[
|
||||||
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
|
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
|
||||||
internationalizable. */
|
internationalizable. */
|
||||||
static ]b4_int_type_for([b4_translate])[ yytranslatable[] =
|
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
||||||
{
|
{
|
||||||
]b4_translatable[
|
]b4_translatable[
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -674,7 +674,7 @@ yysymbol_name (int yysymbol)
|
|||||||
};]m4_ifdef([b4_translatable], [[
|
};]m4_ifdef([b4_translatable], [[
|
||||||
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
|
/* YYTRANSLATABLE[SYMBOL-NUM] -- Whether YYTNAME[SYMBOL-NUM] is
|
||||||
internationalizable. */
|
internationalizable. */
|
||||||
static ]b4_int_type_for([b4_translate])[ yytranslatable[] =
|
static ]b4_int_type_for([b4_translatable])[ yytranslatable[] =
|
||||||
{
|
{
|
||||||
]b4_translatable[
|
]b4_translatable[
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user