You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Need more precise "assert" for 3.8...
Add rule for ifelsestmtl which is needed in 3.8
This commit is contained in:
@@ -982,11 +982,12 @@ class Python37Parser(Python37BaseParser):
|
||||
return_stmt_lambda ::= ret_expr RETURN_VALUE_LAMBDA
|
||||
return_if_lambda ::= RETURN_END_IF_LAMBDA
|
||||
|
||||
stmt ::= return_closure
|
||||
return_closure ::= LOAD_CLOSURE RETURN_VALUE RETURN_LAST
|
||||
stmt ::= return_closure
|
||||
return_closure ::= LOAD_CLOSURE RETURN_VALUE RETURN_LAST
|
||||
|
||||
stmt ::= whileTruestmt
|
||||
ifelsestmt ::= testexpr c_stmts_opt JUMP_FORWARD else_suite _come_froms
|
||||
stmt ::= whileTruestmt
|
||||
ifelsestmt ::= testexpr c_stmts_opt JUMP_FORWARD else_suite _come_froms
|
||||
ifelsestmtl ::= testexpr c_stmts_opt jump_forward_else else_suitec
|
||||
|
||||
ifstmtl ::= testexpr _ifstmts_jumpl
|
||||
|
||||
|
Reference in New Issue
Block a user