Fix ParseTreeTransforms.pxd
authorVitja Makarov <vitja.makarov@gmail.com>
Sat, 15 Jan 2011 10:24:59 +0000 (13:24 +0300)
committerVitja Makarov <vitja.makarov@gmail.com>
Sat, 15 Jan 2011 10:24:59 +0000 (13:24 +0300)
Cython/Compiler/ParseTreeTransforms.pxd

index 1ac7a4128ac652dd9175418f484f60d4355fd51c..078b8e0c42fcc10db7b83987ac76157a9fe621ee 100644 (file)
@@ -19,6 +19,7 @@ cdef class NormalizeTree(CythonTransform):
 cdef class PostParse(ScopeTrackingTransform):
     cdef dict specialattribute_handlers
     cdef size_t lambda_counter
+    cdef size_t genexpr_counter
     cdef _visit_assignment_node(self, node, list expr_list)
 
 
@@ -46,9 +47,9 @@ cdef class AlignFunctionDefinitions(CythonTransform):
     cdef scope
 
 cdef class YieldNodeCollector(TreeVisitor):
-    cdef list yields
-    cdef list returns
-    cdef bint has_return_value
+    cdef public list yields
+    cdef public list returns
+    cdef public bint has_return_value
 
 cdef class MarkClosureVisitor(CythonTransform):
     cdef bint needs_closure
@@ -57,6 +58,7 @@ cdef class CreateClosureClasses(CythonTransform):
     cdef list path
     cdef bint in_lambda
     cdef module_scope
+    cdef generator_class
 
 cdef class GilCheck(VisitorTransform):
     cdef list env_stack