projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b16dc6
)
fix compiler crash after last change
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 3 Dec 2010 14:37:47 +0000
(15:37 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 3 Dec 2010 14:37:47 +0000
(15:37 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 8a7cc5ca4fc5dadcbf2f4efe1d2a960c2728a13c..09a9ffdfeba3299ddda31cb7e165b97f479682ea 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-3244,10
+3244,9
@@
class CClassDefNode(ClassDefNode):
self.body.analyse_expressions(scope)
def generate_function_definitions(self, env, code):
- self.generate_lambda_definitions(self.scope, code)
if self.body:
- self.
body.generate_function_definitions(
-
self.entry.type
.scope, code)
+ self.
generate_lambda_definitions(self.scope, code)
+
self.body.generate_function_definitions(self
.scope, code)
def generate_execution_code(self, code):
# This is needed to generate evaluation code for