From 5535b8a2dc7ae4dc3efcd99ddfc6db5ca50c2fe0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 12 Nov 2010 11:36:25 +0100 Subject: [PATCH] include EnvTransform in optimised Visitor classes --- Cython/Compiler/Visitor.pxd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/Visitor.pxd b/Cython/Compiler/Visitor.pxd index ccd23f1d..3affff28 100644 --- a/Cython/Compiler/Visitor.pxd +++ b/Cython/Compiler/Visitor.pxd @@ -20,3 +20,6 @@ cdef class VisitorTransform(TreeVisitor): cdef class CythonTransform(VisitorTransform): cdef public context cdef public current_directives + +cdef class EnvTransform(CythonTransform): + cdef public list env_stack -- 2.26.2