additional get_in_function_call tests

This commit is contained in:
David Halter
2012-09-15 12:12:27 +02:00
parent a56bc17f2c
commit c3eab377f7
2 changed files with 7 additions and 4 deletions

View File

@@ -414,11 +414,11 @@ def _get_in_function_call(module, pos):
if s.execution is not None:
if s.execution.start_pos <= pos:
call = s
c, index = scan_array_for_pos(s.execution, pos)
if c is not None:
call = c
else:
return call, index
c, index = scan_array_for_pos(s.execution, pos)
if c is not None:
call = c
s = s.next
return call, index