projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ead6d
)
emit code comment before generator wrapper function
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 13 Dec 2010 21:19:52 +0000
(22:19 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 13 Dec 2010 21:19:52 +0000
(22:19 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 54324594c7d58b4c93ad96695b7612695e18d035..ea4e42bd83ad753a3748bf0de856250182649e24 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-1910,6
+1910,7
@@
class GeneratorWrapperNode(object):
self.header = header
def generate_function_body(self, env, code):
+ code.mark_pos(self.def_node.pos)
cenv = env.outer_scope # XXX: correct?
while cenv.is_py_class_scope or cenv.is_c_class_scope:
cenv = cenv.outer_scope