3.4-3.4 mixed "and"/"or" parsing ...

Fix by limiting more the bogus come from.
This commit is contained in:
rocky
2020-05-18 05:33:57 -04:00
parent 4365022f40
commit ff43565981

View File

@@ -888,6 +888,7 @@ class Scanner3(Scanner):
start, self.next_stmt[offset], self.opc.POP_JUMP_IF_FALSE, target start, self.next_stmt[offset], self.opc.POP_JUMP_IF_FALSE, target
) )
# FIXME: Remoeve this whole "if" block
# If we still have any offsets in set, start working on it # If we still have any offsets in set, start working on it
if match: if match:
is_jump_forward = self.is_jump_forward(pre_rtarget) is_jump_forward = self.is_jump_forward(pre_rtarget)
@@ -956,7 +957,7 @@ class Scanner3(Scanner):
) )
): ):
pass pass
else: elif self.version <= 3.2:
fix = None fix = None
jump_ifs = self.inst_matches( jump_ifs = self.inst_matches(
start, start,