merged in latest cython-devel
authorStefan Behnel <scoder@users.berlios.de>
Tue, 9 Mar 2010 08:38:18 +0000 (09:38 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 9 Mar 2010 08:38:18 +0000 (09:38 +0100)
1  2 
Cython/Compiler/Nodes.py
Cython/Compiler/Parsing.py
Cython/Compiler/Symtab.py

index cf77dc79ad4c76b128cc71470c6c1a96bb8a7531,cbae103906fc7395d138c3f4fe884a56c95e9504..48738e34fe2e29788872d4c96dbbb01d175214f1
@@@ -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)
  
  
Simple merge
Simple merge