bison-patches
[Top][All Lists]
Advanced

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

glr2.cc: style: s/Type/Kind/g


From: Akim Demaille
Subject: glr2.cc: style: s/Type/Kind/g
Date: Sat, 19 Dec 2020 16:48:05 +0100

commit 66706a7c1925f25074e8c47fad7254b3e07a9b8c
Author: Akim Demaille <akim.demaille@gmail.com>
Date:   Sat Dec 19 06:44:40 2020 +0100

    glr2.cc: style: s/Type/Kind/g
    
    * data/skeletons/glr2.cc (YY_SYMBOL_PRINT): Use Kind, not Type.
    As in the other skeletons.

diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc
index 613440ac..1add3ae4 100644
--- a/data/skeletons/glr2.cc
+++ b/data/skeletons/glr2.cc
@@ -649,12 +649,12 @@ enum YYRESULTTAG { yyok, yyaccept, yyabort, yyerr };
 
 #define YY_DEBUG_STREAM if (!yydebug) {} else std::cerr
 
-# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                  \
+# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                  \
   do {                                                                  \
     if (yydebug)                                                        \
       {                                                                 \
         std::cerr << Title << ' ';                                      \
-        yyparser.yy_symbol_print_ (Type, Value]b4_locations_if([, 
Location])[); \
+        yyparser.yy_symbol_print_ (Kind, Value]b4_locations_if([, 
Location])[); \
         std::cerr << '\n';                                              \
       }                                                                 \
   } while (0)
@@ -672,7 +672,7 @@ static void yypdumpstack (glr_stack* yystackp)
 #else /* !]b4_api_PREFIX[DEBUG */
 
 # define YY_DEBUG_STREAM if (true) {} else std::cerr
-# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
+# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
 
 #endif /* !]b4_api_PREFIX[DEBUG */
 




reply via email to

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