NT "_for" -> "for_iter" reduces confusion w/ "for"

This commit is contained in:
rocky
2017-12-12 12:41:44 -05:00
parent b544827192
commit 84b4ac1c51
8 changed files with 27 additions and 27 deletions

View File

@@ -13,11 +13,11 @@ class Python21Parser(Python22Parser):
def p_forstmt21(self, args):
"""
_for ::= LOAD_CONST FOR_LOOP
for ::= SETUP_LOOP expr _for store
for_iter ::= LOAD_CONST FOR_LOOP
for ::= SETUP_LOOP expr for_iter store
return_stmts
POP_BLOCK COME_FROM
for ::= SETUP_LOOP expr _for store
for ::= SETUP_LOOP expr for_iter store
l_stmts_opt _jump_back
POP_BLOCK COME_FROM