Python 2 "for" grammar rule isolation

This commit is contained in:
rocky
2018-03-19 16:15:53 -04:00
parent 5c8f93b735
commit 50e59a37c1
3 changed files with 3 additions and 4 deletions

View File

@@ -431,9 +431,6 @@ class PythonParser(GenericASTBuilder):
for_block ::= l_stmts_opt _come_froms JUMP_BACK
for ::= SETUP_LOOP expr for_iter store
for_block POP_BLOCK _come_froms
forelsestmt ::= SETUP_LOOP expr for_iter store
for_block POP_BLOCK else_suite _come_froms