bison-patches
[Top][All Lists]
Advanced

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

[PATCH 13/21] regen


From: Akim Demaille
Subject: [PATCH 13/21] regen
Date: Wed, 1 Apr 2020 08:37:39 +0200

---
 src/parse-gram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parse-gram.c b/src/parse-gram.c
index a77bafd0..56405b96 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -608,7 +608,7 @@ union yyalloc
 
 /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
    as returned by yylex, with out-of-bounds checking.  */
-#define YYTRANSLATE(YYX) (YYX)
+#define YYTRANSLATE(YYX) YY_CAST (yysymbol_type_t, YYX)
 
 #if GRAM_DEBUG
   /* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
-- 
2.26.0




reply via email to

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