[pypy-svn] r56268 - pypy/branch/2.5-features/pypy/interpreter/pyparser/data
bgola at codespeak.net
bgola at codespeak.net
Thu Jul 3 21:51:45 CEST 2008
Author: bgola
Date: Thu Jul 3 21:51:43 2008
New Revision: 56268
Modified:
pypy/branch/2.5-features/pypy/interpreter/pyparser/data/Grammar2.5
Log:
another change to grammar (also in 2.4)
Modified: pypy/branch/2.5-features/pypy/interpreter/pyparser/data/Grammar2.5
==============================================================================
--- pypy/branch/2.5-features/pypy/interpreter/pyparser/data/Grammar2.5 (original)
+++ pypy/branch/2.5-features/pypy/interpreter/pyparser/data/Grammar2.5 Thu Jul 3 21:51:43 2008
@@ -134,7 +134,8 @@
# arglist: (argument ',')* (argument [',']| '*' test [',' '**' test] | '**' test)
arglist: (argument ',')* ( '*' test [',' '**' test] | '**' test | argument | [argument ','] )
-argument: test [gen_for] | test '=' test # Really [keyword '='] test
+#argument: test [gen_for] | test '=' test # Really [keyword '='] test
+argument: [test '='] test [gen_for] # Really [keyword '='] test
list_iter: list_for | list_if
list_for: 'for' exprlist 'in' testlist_safe [list_iter]
More information about the Pypy-commit
mailing list