2.x Grammar reduction/isolation

This commit is contained in:
rocky
2017-11-22 19:13:21 -05:00
parent b00c59bdd7
commit b8f74c23f4
7 changed files with 12 additions and 15 deletions

View File

@@ -40,10 +40,6 @@ class Python2Parser(PythonParser):
def p_stmt2(self, args):
"""
# Note: these are removed in 2.7
while1stmt ::= SETUP_LOOP l_stmts JUMP_BACK COME_FROM
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK else_suite COME_FROM
exec_stmt ::= expr exprlist DUP_TOP EXEC_STMT
exec_stmt ::= expr exprlist EXEC_STMT