From: Stefan Behnel Date: Tue, 9 Mar 2010 08:38:18 +0000 (+0100) Subject: merged in latest cython-devel X-Git-Tag: 0.13.beta0~2^2~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a6bcfc1778fcb8493a0df39fe64769633e4d61b;p=cython.git merged in latest cython-devel --- 9a6bcfc1778fcb8493a0df39fe64769633e4d61b diff --cc Cython/Compiler/Nodes.py index cf77dc79,cbae1039..48738e34 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@@ -3599,10 -3493,13 +3610,18 @@@ class PrintStatNode(StatNode) self.arg_tuple.generate_disposal_code(code) self.arg_tuple.free_temps(code) + if self.stream: + self.stream.generate_disposal_code(code) + self.stream.free_temps(code) + + def generate_function_definitions(self, env, code): ++ if self.stream: ++ self.stream.generate_function_definitions(env, code) + self.arg_tuple.generate_function_definitions(env, code) + def annotate(self, code): + if self.stream: + self.stream.annotate(code) self.arg_tuple.annotate(code)