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

@@ -105,6 +105,7 @@ class Python27Parser(Python2Parser):
while1stmt ::= SETUP_LOOP return_stmts bp_come_from
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK POP_BLOCK else_suite COME_FROM
while1stmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK POP_BLOCK COME_FROM
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK _come_from
# Common with 2.6
return_if_lambda ::= RETURN_END_IF_LAMBDA COME_FROM