2.7 continue-detection bug

This commit is contained in:
rocky
2017-11-16 00:22:24 -05:00
parent c28f2f2e56
commit 902941102f

View File

@@ -277,6 +277,7 @@ class Scanner2(Scanner):
self.opc.POP_BLOCK)):
if ((offset in self.linestartoffsets and
self.code[self.prev[offset]] == self.opc.JUMP_ABSOLUTE)
or self.code[target] == self.opc.FOR_ITER
or offset not in self.not_continue):
op_name = 'CONTINUE'