[Python-checkins] python/nondist/sandbox/ast asdl.h,1.5,1.6

jhylton@sourceforge.net jhylton@sourceforge.net
Sun, 21 Apr 2002 21:19:57 -0700


Update of /cvsroot/python/python/nondist/sandbox/ast
In directory usw-pr-cvs1:/tmp/cvs-serv12981

Modified Files:
	asdl.h 
Log Message:
use typedefs for object, string, identifier


Index: asdl.h
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/asdl.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** asdl.h	21 Apr 2002 14:45:41 -0000	1.5
--- asdl.h	22 Apr 2002 04:19:54 -0000	1.6
***************
*** 2,9 ****
  #define Py_ASDL_H
  
! /* XXX why are these #def'd rather than typedef'd? */
! #define identifier PyObject *
! #define string PyObject *
! #define object PyObject *
  
  #include <stdbool.h>
--- 2,8 ----
  #define Py_ASDL_H
  
! typedef PyObject * identifier;
! typedef PyObject * string;
! typedef PyObject * object;
  
  #include <stdbool.h>