for flows triggered an exception if goto_assignments was used on the keyword. found with the help of sith.py
This commit is contained in:
1 parent
a341791fda
commit
15fdecdb61
3 files changed
+15
-5
No files matched your search
@@ -266,6 +266,9 @@ class Script(object):
|
||||
stmt = r.module.statements[-1]
|
||||
except IndexError:
|
||||
raise NotFoundError()
|
||||
if isinstance(stmt, pr.Flow):
|
||||
raise NotFoundError()
|
||||
|
||||
user_stmt = self._parser.user_stmt()
|
||||
if user_stmt is None:
|
||||
# Set the start_pos to a pseudo position, that doesn't exist but works
|
||||
|
||||
Reference in new issue
Block a user