See previous commit

This commit is contained in:
rocky
2020-01-31 21:12:59 -05:00
parent f279cc2d70
commit 2d1ea6b02b

View File

@@ -123,7 +123,7 @@ def ifelsestmt(self, lhs, n, rule, ast, tokens, first, last):
# (jf_cf_pop may be a 2.6ish specific thing.)
jump_forward = ast[2]
if jump_forward == "jf_cf_pop":
jump_forward = jf_cf_pop[0]
jump_forward = jump_forward[0]
if jump_forward == "JUMP_FORWARD":
endif_target = int(jump_forward.pattr)