Commit ab7bc84f authored by Stefan Behnel's avatar Stefan Behnel

fix copy&paste bug

parent 08cc20e9
......@@ -339,7 +339,7 @@ class IterationTransform(Visitor.VisitorTransform):
elif slice_node.type.is_array:
if slice_node.type.size is None:
error(step.pos, "C array iteration requires known end index")
error(slice_node.pos, "C array iteration requires known end index")
return node
slice_base = slice_node
start = 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