2.7 exec stmt grammar rule isolation/reduction

This commit is contained in:
rocky
2017-12-02 09:23:18 -05:00
parent 28e573b73c
commit a7005f6a77
7 changed files with 29 additions and 22 deletions

View File

@@ -35,11 +35,6 @@ class Python35Parser(Python34Parser):
# Python 3.5+ has WITH_CLEANUP_START/FINISH
withstmt ::= expr
SETUP_WITH exprlist suite_stmts_opt
POP_BLOCK LOAD_CONST COME_FROM_WITH
WITH_CLEANUP_START WITH_CLEANUP_FINISH END_FINALLY
withstmt ::= expr
SETUP_WITH POP_TOP suite_stmts_opt
POP_BLOCK LOAD_CONST COME_FROM_WITH