[Python-checkins] python/nondist/sandbox/ast asdl.h,1.3,1.4
jhylton@sourceforge.net
jhylton@sourceforge.net
Tue, 16 Apr 2002 16:39:00 -0700
Update of /cvsroot/python/python/nondist/sandbox/ast
In directory usw-pr-cvs1:/tmp/cvs-serv651
Modified Files:
asdl.h
Log Message:
Grab definition for bool from stdbool.h (C99).
XXX Not sure how portable this is.
Index: asdl.h
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/asdl.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** asdl.h 16 Apr 2002 03:21:52 -0000 1.3
--- asdl.h 16 Apr 2002 23:38:58 -0000 1.4
***************
*** 1,5 ****
#define identifier PyObject *
- #define bool int
#define string PyObject *
/* It would be nice if the code generated by asdl_c.py was completely
--- 1,6 ----
#define identifier PyObject *
#define string PyObject *
+
+ #include <stdbool.h>
/* It would be nice if the code generated by asdl_c.py was completely