3.6 bug related to large whilestmt

This commit is contained in:
rocky
2024-07-13 21:42:49 -04:00
parent 7787166ddf
commit 389fc2360a
3 changed files with 76 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ class Python36Parser(Python35Parser):
for_block ::= l_stmts_opt come_from_loops JUMP_BACK
come_from_loops ::= COME_FROM_LOOP*
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt
JUMP_BACK come_froms POP_BLOCK
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt
JUMP_BACK come_froms POP_BLOCK COME_FROM_LOOP
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt