Add 3.0 whilestmt rule

This commit is contained in:
rocky
2019-11-15 15:14:33 -05:00
parent 49de5b5c9d
commit af2ed31871

View File

@@ -159,7 +159,7 @@ class Python30Parser(Python31Parser):
and ::= expr jmp_false_then expr come_from_opt
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt come_from_opt
JUMP_BACK come_froms POP_TOP POP_BLOCK COME_FROM_LOOP
JUMP_BACK _come_froms POP_TOP POP_BLOCK COME_FROM_LOOP
whilestmt ::= SETUP_LOOP testexpr returns
POP_TOP POP_BLOCK COME_FROM_LOOP
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt come_from_opt