fix node traversal in yield expressions
authorStefan Behnel <scoder@users.berlios.de>
Tue, 15 Jun 2010 12:36:59 +0000 (14:36 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 15 Jun 2010 12:36:59 +0000 (14:36 +0200)
Cython/Compiler/ExprNodes.py

index d985cedb04baebab55f7df71b0236ecff02a101a..5273419bfac2bb8dc258b84e2dadd644d49c3fdf 100755 (executable)
@@ -4497,7 +4497,7 @@ class YieldExprNode(ExprNode):
     # arg         ExprNode   the value to return from the generator
     # label_name  string     name of the C label used for this yield
 
-    subexprs = []
+    subexprs = ['arg']
     type = py_object_type
 
     def analyse_types(self, env):