Commit bcfedb86 authored by Vitja Makarov's avatar Vitja Makarov

Visit RaiseStatNode children

parent 8e821645
......@@ -948,6 +948,7 @@ class CreateControlFlowGraph(CythonTransform):
def visit_RaiseStatNode(self, node):
self.mark_position(node)
self.visitchildren(node)
if self.flow.exceptions:
self.flow.block.add_child(self.flow.exceptions[-1].entry_point)
self.flow.block = None
......
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