bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 05/13] regen


From: Akim Demaille
Subject: [PATCH 05/13] regen
Date: Sat, 18 Jan 2020 16:40:04 +0100

---
 src/parse-gram.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/parse-gram.c b/src/parse-gram.c
index 00b4b545..9b5256e5 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -522,6 +522,10 @@ static const yytype_int16 yyrline[] =
 #endif
 
 #if 1
+/* 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;
+
 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
    First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
 static const char *const yytname[] =
@@ -553,9 +557,6 @@ static const char *const yytname[] =
   "string_as_id", "string_as_id.opt", "epilogue.opt", YY_NULLPTR
 };
 
-/* 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 *
 yysymbol_name (int yysymbol)
 {
-- 
2.24.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]