cdef enums seem to require an analyse_expressions()
authorStefan Behnel <scoder@users.berlios.de>
Fri, 11 Sep 2009 18:01:09 +0000 (20:01 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 11 Sep 2009 18:01:09 +0000 (20:01 +0200)
Cython/Compiler/Nodes.py

index e61bf244cf67d1d434644b8aea426a7217164482..b0ba4da1e08db3e6b53cb6e54d0e6fb068264f8a 100644 (file)
@@ -906,6 +906,9 @@ class CEnumDefNode(StatNode):
             for item in self.items:
                 item.analyse_declarations(env, self.entry)
 
+    def analyse_expressions(self, env):
+        pass
+
     def generate_execution_code(self, code):
         if self.visibility == 'public':
             temp = code.funcstate.allocate_temp(PyrexTypes.py_object_type, manage_ref=True)