python 3.3 while True parsing bug

This commit is contained in:
rocky
2017-05-06 10:00:15 -04:00
parent 1093ef5c5b
commit 89d8a70778

View File

@@ -21,6 +21,9 @@ class Python33Parser(Python32Parser):
iflaststmt ::= testexpr c_stmts_opt33 iflaststmt ::= testexpr c_stmts_opt33
c_stmts_opt33 ::= JUMP_BACK JUMP_ABSOLUTE c_stmts_opt c_stmts_opt33 ::= JUMP_BACK JUMP_ABSOLUTE c_stmts_opt
whileTruestmt ::= SETUP_LOOP l_stmts JUMP_ABSOLUTE
JUMP_BACK COME_FROM_LOOP
# Python 3.5+ has jump optimization to remove the redundant # Python 3.5+ has jump optimization to remove the redundant
# jump_excepts. But in 3.3 we need them added # jump_excepts. But in 3.3 we need them added