You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
@@ -146,8 +146,9 @@ class Python26Parser(Python2Parser):
|
|||||||
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_cf_pop POP_BLOCK
|
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_cf_pop POP_BLOCK
|
||||||
whilestmt ::= SETUP_LOOP testexpr returns POP_BLOCK COME_FROM
|
whilestmt ::= SETUP_LOOP testexpr returns POP_BLOCK COME_FROM
|
||||||
|
|
||||||
# In the "whilestmt" below, there can be no COME_FROM when the "while" is the
|
# In the "whilestmt" below, there isn't a COME_FROM when the
|
||||||
# last thing in the program.
|
# "while" is the last thing in the module or function.
|
||||||
|
|
||||||
whilestmt ::= SETUP_LOOP testexpr returns POP_TOP POP_BLOCK
|
whilestmt ::= SETUP_LOOP testexpr returns POP_TOP POP_BLOCK
|
||||||
|
|
||||||
whileelsestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_pop POP_BLOCK
|
whileelsestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_pop POP_BLOCK
|
||||||
@@ -190,7 +191,11 @@ class Python26Parser(Python2Parser):
|
|||||||
jmp_false_then ::= JUMP_IF_FALSE THEN POP_TOP
|
jmp_false_then ::= JUMP_IF_FALSE THEN POP_TOP
|
||||||
jmp_true_then ::= JUMP_IF_TRUE THEN POP_TOP
|
jmp_true_then ::= JUMP_IF_TRUE THEN POP_TOP
|
||||||
|
|
||||||
while1stmt ::= SETUP_LOOP returns COME_FROM
|
# In the "while1stmt" below, there sometimes isn't a
|
||||||
|
# "COME_FROM" when the "while1" is the last thing in the
|
||||||
|
# module or function.
|
||||||
|
|
||||||
|
while1stmt ::= SETUP_LOOP returns come_from_opt
|
||||||
for_block ::= returns _come_froms
|
for_block ::= returns _come_froms
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user