Author: Romain Guillebert <romain...@gmail.com>
Branch: py3k
Changeset: r51472:1233713137f2
Date: 2012-01-19 10:52 +0100
http://bitbucket.org/pypy/pypy/changeset/1233713137f2/

Log:    Import the Grammar for the new yield from construct

diff --git a/pypy/interpreter/pyparser/data/Grammar3.2 
b/pypy/interpreter/pyparser/data/Grammar3.2
--- a/pypy/interpreter/pyparser/data/Grammar3.2
+++ b/pypy/interpreter/pyparser/data/Grammar3.2
@@ -136,4 +136,5 @@
 # not used in grammar, but may appear in "node" passed from Parser to Compiler
 encoding_decl: NAME
 
-yield_expr: 'yield' [testlist]
+yield_expr: 'yield' [yield_arg]
+yield_arg: 'from' test | testlist
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to