From: Vitja Makarov Date: Sat, 15 Jan 2011 10:24:59 +0000 (+0300) Subject: Fix ParseTreeTransforms.pxd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff94e37206e92c73b06b4da07fc0c4e90fb72d9d;p=cython.git Fix ParseTreeTransforms.pxd --- diff --git a/Cython/Compiler/ParseTreeTransforms.pxd b/Cython/Compiler/ParseTreeTransforms.pxd index 1ac7a412..078b8e0c 100644 --- a/Cython/Compiler/ParseTreeTransforms.pxd +++ b/Cython/Compiler/ParseTreeTransforms.pxd @@ -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