More Python 2 and 3 deparsing bugs fixed

* while + if break
* try + finall /pass
This commit is contained in:
rocky
2016-05-05 20:56:41 -04:00
parent 845a4a2003
commit c58481a9eb
10 changed files with 27 additions and 5 deletions

View File

@@ -263,7 +263,7 @@ class Python3Parser(PythonParser):
try_middle _come_from _come_from
# this is nested inside a trystmt
tryfinallystmt ::= SETUP_FINALLY suite_stmts
tryfinallystmt ::= SETUP_FINALLY suite_stmts_opt
POP_BLOCK LOAD_CONST
COME_FROM suite_stmts_opt END_FINALLY