You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Binary file not shown.
@@ -5,3 +5,10 @@ def display_date(loop):
|
||||
if loop.time():
|
||||
break
|
||||
x = 5
|
||||
|
||||
# Another loop to test 3.5 ifelsestmtl grammar rule
|
||||
while loop:
|
||||
if x:
|
||||
True
|
||||
else:
|
||||
True
|
||||
|
@@ -165,7 +165,9 @@ class Python3Parser(PythonParser):
|
||||
ifelsestmtr ::= testexpr return_if_stmts return_stmts
|
||||
|
||||
ifelsestmtl ::= testexpr c_stmts_opt JUMP_BACK else_suitel
|
||||
ifelsestmtl ::= testexpr c_stmts_opt COME_FROM JUMP_BACK else_suitel
|
||||
ifelsestmtl ::= testexpr c_stmts_opt cf_jump_back else_suitel
|
||||
|
||||
cf_jump_back ::= COME_FROM JUMP_BACK
|
||||
|
||||
# FIXME: this feels like a hack. Is it just 1 or two
|
||||
# COME_FROMs? the parsed tree for this and even with just the
|
||||
|
Reference in New Issue
Block a user