projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9fafe8
)
cdef enums seem to require an analyse_expressions()
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 11 Sep 2009 18:01:09 +0000
(20:01 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 11 Sep 2009 18:01:09 +0000
(20:01 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index e61bf244cf67d1d434644b8aea426a7217164482..b0ba4da1e08db3e6b53cb6e54d0e6fb068264f8a 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-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)