style: stylistic cleanups in the C skeletons

* data/skeletons/glr.c, data/skeletons/yacc.c:
Avoid duplicated declaration of yysymbol_name.
This commit is contained in:
Adrian Vogelsgesang
2020-02-07 21:14:52 +01:00
committed by Akim Demaille
parent 80a4389377
commit bb02acc2ed
2 changed files with 2 additions and 10 deletions

View File

@@ -621,11 +621,7 @@ yysymbol_name (int yysymbol)
{
return yytname[yysymbol];
}]],
[[/* The user-facing name of the symbol whose (internal) number is
YYSYMBOL. No bounds checking. */
static const char *yysymbol_name (int yysymbol) YY_ATTRIBUTE_UNUSED;
static const char *
[[static const char *
yysymbol_name (int yysymbol)
{
static const char *const yy_sname[] =