Commit 36361c20 authored by Stefan Behnel's avatar Stefan Behnel

whitespace

parent 228f30ab
...@@ -643,11 +643,11 @@ class FusedCFuncDefNode(StatListNode): ...@@ -643,11 +643,11 @@ class FusedCFuncDefNode(StatListNode):
# print fragment_code # print fragment_code
fragment = TreeFragment.TreeFragment(fragment_code, level='module') fragment = TreeFragment.TreeFragment(fragment_code, level='module')
ast = TreeFragment.SetPosTransform(self.node.pos)(fragment.root) ast = TreeFragment.SetPosTransform(self.node.pos)(fragment.root)
UtilityCode.declare_declarations_in_scope(decl_code.getvalue(), UtilityCode.declare_declarations_in_scope(
env.global_scope()) decl_code.getvalue(), env.global_scope())
ast.scope = env ast.scope = env
ast.analyse_declarations(env) ast.analyse_declarations(env)
py_func = ast.stats[-1] # the DefNode py_func = ast.stats[-1] # the DefNode
self.fragment_scope = ast.scope self.fragment_scope = ast.scope
if isinstance(self.node, DefNode): if isinstance(self.node, DefNode):
......
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