Commit 208b2168 authored by Stefan Behnel's avatar Stefan Behnel

emit code comment before generator wrapper function

parent 58ead6dd
...@@ -1910,6 +1910,7 @@ class GeneratorWrapperNode(object): ...@@ -1910,6 +1910,7 @@ class GeneratorWrapperNode(object):
self.header = header self.header = header
def generate_function_body(self, env, code): def generate_function_body(self, env, code):
code.mark_pos(self.def_node.pos)
cenv = env.outer_scope # XXX: correct? cenv = env.outer_scope # XXX: correct?
while cenv.is_py_class_scope or cenv.is_c_class_scope: while cenv.is_py_class_scope or cenv.is_c_class_scope:
cenv = cenv.outer_scope cenv = cenv.outer_scope
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment