Fix bug in 2.5- try/else inside ifelsestmt

This commit is contained in:
rocky
2018-01-06 22:19:44 -05:00
parent 2f228eeaef
commit b0d18cae6a
6 changed files with 9 additions and 8 deletions

View File

@@ -176,7 +176,7 @@ class Scanner2(Scanner):
come_from_name = 'COME_FROM_%s' % come_from_type
pass
tokens.append(Token(
come_from_name, None, repr(jump_offset),
come_from_name, jump_offset, repr(jump_offset),
offset="%s_%d" % (offset, jump_idx),
has_arg = True))
jump_idx += 1