You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
One more _come_from -> _come_froms
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
# end of if can come from both finishing loop
|
||||
# and not taking the if.
|
||||
|
||||
# whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK \e__come_from
|
||||
# whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK \e__come_froms
|
||||
# _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD \e__come_from
|
||||
# ifstmt ::= testexpr _ifstmts_jump
|
||||
# _come_from ::= _come_from COME_FROM
|
||||
# _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from
|
||||
# _come_froms ::= _come_froms COME_FROM
|
||||
# _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_froms
|
||||
|
||||
def splitext(p, sep, altsep, extsep):
|
||||
if altsep > extsep:
|
||||
|
@@ -97,7 +97,7 @@ class Python27Parser(Python2Parser):
|
||||
# assert condition, expr
|
||||
assert2 ::= assert_expr jmp_true LOAD_ASSERT expr CALL_FUNCTION_1 RAISE_VARARGS_1
|
||||
|
||||
for_block ::= return_stmts _come_from
|
||||
for_block ::= return_stmts _come_froms
|
||||
|
||||
withstmt ::= expr SETUP_WITH POP_TOP suite_stmts_opt
|
||||
POP_BLOCK LOAD_CONST COME_FROM_WITH
|
||||
|
Reference in New Issue
Block a user