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

@@ -293,11 +293,13 @@ b4_percent_code_get[]dnl
#ifdef __cplusplus
typedef bool yybool;
# define yytrue true
# define yyfalse false
#else
typedef unsigned char yybool;
# define yytrue 1
# define yyfalse 0
#endif
#define yytrue 1
#define yyfalse 0
#ifndef YYSETJMP
# include <setjmp.h>