Commit 4f86ca24 authored by Robert Bradshaw's avatar Robert Bradshaw

loop cleanup, comment

parent dc76c0e6
......@@ -3947,9 +3947,9 @@ class ForFromStatNode(LoopNode, StatNode):
self.body.generate_execution_code(code)
code.put_label(code.continue_label)
if self.py_loopvar_node:
self.py_loopvar_node.generate_evaluation_code(code)
self.target.generate_assignment_code(self.py_loopvar_node, code)
# Reassign py variable to loop var here.
# (For consistancy, should rarely come up in practice.)
pass
code.putln("}")
break_label = code.break_label
code.set_loop_labels(old_loop_labels)
......
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