add an empty IsScope class to match all scopes
This commit is contained in:
1 parent
52b32a01c1
commit
cda84dc92a
3 files changed
+9
-5
No files matched your search
+1
-1
@@ -634,7 +634,7 @@ def follow_call_list(call_list, follow_array=False):
|
||||
def follow_call(call):
|
||||
"""Follow a call is following a function, variable, string, etc."""
|
||||
path = call.generate_call_path()
|
||||
scope = call.get_parent_until((pr.Scope, er.Execution))
|
||||
scope = call.get_parent_until(pr.IsScope)
|
||||
return follow_call_path(path, scope, call.start_pos)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user