More test fixes.

This commit is contained in:
Dave Halter
2016-05-31 01:12:07 +02:00
parent c12dbe0b9e
commit ad8d730a57
6 changed files with 27 additions and 17 deletions

View File

@@ -98,6 +98,7 @@ def get_stack_at_position(grammar, source, module, pos):
if pos <= user_stmt.start_pos:
try:
leaf = user_stmt.get_previous_leaf()
print(user_stmt, leaf)
except IndexError:
pass
else: