Commit c2b42588 authored by Vitja Makarov's avatar Vitja Makarov

Add handler for unhandled AssignmentNode

parent 9d4f2851
...@@ -574,6 +574,9 @@ class CreateControlFlowGraph(CythonTransform): ...@@ -574,6 +574,9 @@ class CreateControlFlowGraph(CythonTransform):
self.visitchildren(node) self.visitchildren(node)
return node return node
def visit_AssignmentNode(self, node):
raise InternalError, "Unhandled assignment node"
def visit_SingleAssignmentNode(self, node): def visit_SingleAssignmentNode(self, node):
self.visit(node.rhs) self.visit(node.rhs)
self.mark_assignment(node.lhs, node.rhs) self.mark_assignment(node.lhs, node.rhs)
......
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