Skirt around control-flow problems...

Tag some of the weaknesses if we can't address them now
This commit is contained in:
rocky
2017-12-07 08:55:45 -05:00
parent 41db5b8848
commit b6413b6e6e
5 changed files with 15 additions and 4 deletions

View File

@@ -208,6 +208,9 @@ class Scanner(object):
Return a list with indexes to them or [] if none found.
"""
# FIXME: this is broken on 3.6+. Revise to use instructions self.insts
code = self.code
assert(start >= 0 and end <= len(code))