Python 3.(4?) while1 bug

Clean up while1 grammar a tad
This commit is contained in:
rocky
2016-07-11 10:09:10 -04:00
parent f571f6dfce
commit 9fdf70f68d
5 changed files with 12 additions and 7 deletions

View File

@@ -273,6 +273,7 @@ class Python3Parser(PythonParser):
# Python < 3.5 no POP BLOCK
whileTruestmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK _come_from
whileTruestmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK NOP _come_from
while1stmt ::= SETUP_LOOP l_stmts _come_from JUMP_BACK _come_from
"""
def p_genexpr3(self, args):