projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02c446
)
Fix 135 -- scope objects have return_type set to None by default
author
Kurt Smith
<kwsmith1@wisc.edu>
Tue, 17 Mar 2009 19:57:58 +0000
(14:57 -0500)
committer
Kurt Smith
<kwsmith1@wisc.edu>
Tue, 17 Mar 2009 19:57:58 +0000
(14:57 -0500)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index b649fbaae9562645df86b0ce26d33279b30afb4a..08ba3a91bf69f311f6d2e22f5cea9cea149d8cf1 100644
(file)
--- a/
Cython/Compiler/Symtab.py
+++ b/
Cython/Compiler/Symtab.py
@@
-251,6
+251,7
@@
class Scope(object):
self.pystring_entries = []
self.buffer_entries = []
self.control_flow = ControlFlow.LinearControlFlow()
+ self.return_type = None
def start_branching(self, pos):
self.control_flow = self.control_flow.start_branch(pos)