mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
(bool, false, true): Use a definition consistent with ../lib/hash.c.
This commit is contained in:
@@ -181,11 +181,11 @@ void *memrchr (const void *s, int c, size_t n);
|
|||||||
| Booleans. |
|
| Booleans. |
|
||||||
`-----------*/
|
`-----------*/
|
||||||
|
|
||||||
#ifndef TRUE
|
#if HAVE_STDBOOL_H
|
||||||
# define TRUE (1)
|
# include <stdbool.h>
|
||||||
# define FALSE (0)
|
#else
|
||||||
|
typedef enum {false = 0, true = 1} bool;
|
||||||
#endif
|
#endif
|
||||||
typedef int bool;
|
|
||||||
|
|
||||||
|
|
||||||
/*-----------.
|
/*-----------.
|
||||||
|
|||||||
Reference in New Issue
Block a user