You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Python 3.(4?) while1 bug
Clean up while1 grammar a tad
This commit is contained in:
@@ -294,9 +294,6 @@ class PythonParser(GenericASTBuilder):
|
||||
while1stmt ::= SETUP_LOOP l_stmts JUMP_BACK COME_FROM
|
||||
while1stmt ::= SETUP_LOOP l_stmts JUMP_BACK POP_BLOCK COME_FROM
|
||||
|
||||
# This is Python 2.7+; segregate
|
||||
while1stmt ::= SETUP_LOOP return_stmts COME_FROM
|
||||
|
||||
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK else_suite COME_FROM
|
||||
whileelsestmt ::= SETUP_LOOP testexpr
|
||||
l_stmts_opt JUMP_BACK
|
||||
|
Reference in New Issue
Block a user