[Python-checkins] python/dist/src/Parser Python.asdl,1.1.2.6,1.1.2.7
nascheme@users.sourceforge.net
nascheme@users.sourceforge.net
Thu, 27 Mar 2003 18:05:30 -0800
Update of /cvsroot/python/python/dist/src/Parser
In directory sc8-pr-cvs1:/tmp/cvs-serv5622/Parser
Modified Files:
Tag: ast-branch
Python.asdl
Log Message:
Change ListComp node ("elt" seems more clear than "target"). Regenerate
C files.
Index: Python.asdl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/Attic/Python.asdl,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** Python.asdl 25 Mar 2003 15:53:02 -0000 1.1.2.6
--- Python.asdl 28 Mar 2003 02:05:27 -0000 1.1.2.7
***************
*** 53,57 ****
| Lambda(arguments args, expr body)
| Dict(expr* keys, expr *values)
! | ListComp(expr target, listcomp* generators)
-- need sequences for compare to distinguish between
-- x < 4 < 3 and (x < 4) < 3
--- 53,57 ----
| Lambda(arguments args, expr body)
| Dict(expr* keys, expr *values)
! | ListComp(expr elt, listcomp* generators)
-- need sequences for compare to distinguish between
-- x < 4 < 3 and (x < 4) < 3