You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Reinstate Generator rule accidentally removed...
I removed the rule when writing how issue #283 was fixed. What was supposed to be a temporary change, I accidentally committed.
This commit is contained in:
@@ -250,6 +250,9 @@ class Python26Parser(Python2Parser):
|
|||||||
genexpr_func ::= setup_loop_lf FOR_ITER store comp_iter JUMP_ABSOLUTE come_froms
|
genexpr_func ::= setup_loop_lf FOR_ITER store comp_iter JUMP_ABSOLUTE come_froms
|
||||||
POP_TOP jb_pop jb_pb_come_from
|
POP_TOP jb_pop jb_pb_come_from
|
||||||
|
|
||||||
|
genexpr_func ::= setup_loop_lf FOR_ITER store comp_iter JUMP_BACK come_froms
|
||||||
|
POP_TOP jb_pb_come_from
|
||||||
|
|
||||||
generator_exp ::= LOAD_GENEXPR MAKE_FUNCTION_0 expr GET_ITER CALL_FUNCTION_1 COME_FROM
|
generator_exp ::= LOAD_GENEXPR MAKE_FUNCTION_0 expr GET_ITER CALL_FUNCTION_1 COME_FROM
|
||||||
list_if ::= list_if ::= expr jmp_false_then list_iter
|
list_if ::= list_if ::= expr jmp_false_then list_iter
|
||||||
'''
|
'''
|
||||||
|
Reference in New Issue
Block a user