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

* data/glr.c: here.
This commit is contained in:
Akim Demaille
2018-09-18 06:12:11 +02:00
parent 65fa634cdc
commit fb1e27cf47

View File

@@ -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>