From: Stefan Behnel Date: Fri, 12 Nov 2010 10:55:46 +0000 (+0100) Subject: include RecursiveNodeReplacer in optimised Visitor classes X-Git-Tag: 0.14.alpha0~174 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abaa1710cefcbe414b7208f4868859d4962a2e9a;p=cython.git include RecursiveNodeReplacer in optimised Visitor classes --- diff --git a/Cython/Compiler/Visitor.pxd b/Cython/Compiler/Visitor.pxd index 3affff28..495cece4 100644 --- a/Cython/Compiler/Visitor.pxd +++ b/Cython/Compiler/Visitor.pxd @@ -23,3 +23,7 @@ cdef class CythonTransform(VisitorTransform): cdef class EnvTransform(CythonTransform): cdef public list env_stack + +cdef class RecursiveNodeReplacer(VisitorTransform): + cdef public orig_node + cdef public new_node