commit 7a916050bb68a5c69f3f7d5a6b8fccbe5e6bae37
Author: Akim Demaille <[email protected]>
Date:   Tue Sep 18 06:12:11 2018 +0200

    glr.c: prefer true/false to 1/0 in C++
    
    * data/glr.c: here.

diff --git a/data/glr.c b/data/glr.c
index a67c7c87..8d93b148 100644
--- a/data/glr.c
+++ b/data/glr.c
@@ -292,12 +292,14 @@ b4_percent_code_get[]dnl
 #define YYSIZEMAX ((size_t) -1)
 
 #ifdef __cplusplus
-   typedef bool yybool;
+  typedef bool yybool;
+# define yytrue true
+# define yyfalse false
 #else
-   typedef unsigned char yybool;
+  typedef unsigned char yybool;
+# define yytrue 1
+# define yyfalse 0
 #endif
-#define yytrue 1
-#define yyfalse 0
 
 #ifndef YYSETJMP
 # include <setjmp.h>


Reply via email to