More 3.0 list comprehension bug fixes

This commit is contained in:
rocky
2022-11-04 02:05:34 -04:00
parent 766618ba48
commit 4959c76694
3 changed files with 25 additions and 4 deletions

View File

@@ -102,6 +102,11 @@ class Python30Parser(Python31Parser):
LOAD_FAST FOR_ITER store dict_comp_iter
JUMP_BACK _come_froms POP_TOP JUMP_BACK
dict_comp_func ::= BUILD_MAP_0
DUP_TOP STORE_FAST
LOAD_ARG FOR_ITER store
dict_comp_iter JUMP_BACK RETURN_VALUE RETURN_LAST
stmt ::= try_except30
try_except30 ::= SETUP_EXCEPT suite_stmts_opt
_come_froms pt_bp