continue non-detection in Python 2.7

fixes issue 122
This commit is contained in:
rocky
2017-06-29 20:27:07 -04:00
parent 9c072a6a42
commit 6efd7afda3

View File

@@ -900,12 +900,12 @@ class Scanner2(Scanner):
'start': start-3,
'end': pre_rtarget}
elif self.version == 2.7:
if self.version == 2.7:
self.structs.append({'type': 'if-then',
'start': start-3,
'end': pre_rtarget})
self.not_continue.add(pre_rtarget)
else:
self.not_continue.add(pre_rtarget)
if rtarget < end:
# We have an "else" block of some kind.