From ff94e37206e92c73b06b4da07fc0c4e90fb72d9d Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Sat, 15 Jan 2011 13:24:59 +0300 Subject: [PATCH] Fix ParseTreeTransforms.pxd --- Cython/Compiler/ParseTreeTransforms.pxd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.26.2