[Python-checkins] python/nondist/sandbox/ast asdl_c.py,1.4,1.5

jhylton@sourceforge.net jhylton@sourceforge.net
Tue, 09 Apr 2002 20:58:31 -0700


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

Modified Files:
	asdl_c.py 
Log Message:
Add one entry on to do list.

Add semicolon at the end of struct declaration.


Index: asdl_c.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/asdl_c.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** asdl_c.py	10 Apr 2002 03:48:50 -0000	1.4
--- asdl_c.py	10 Apr 2002 03:58:28 -0000	1.5
***************
*** 1,4 ****
--- 1,7 ----
  """Generate C code from an ASDL description."""
  
+ # TO DO
+ # handle fields that have a type but no name
+ 
  import os, sys, traceback
  
***************
*** 144,148 ****
              self.visit(t, depth + 2)
          emit("} v;", depth + 1)
!         emit("}")
          emit("")
  
--- 147,151 ----
              self.visit(t, depth + 2)
          emit("} v;", depth + 1)
!         emit("};")
          emit("")