Add Python 3.0.1 list_comp rule

This commit is contained in:
rocky
2019-11-15 21:32:31 -05:00
parent 47c847644e
commit 4e9d8783d1
2 changed files with 14 additions and 1 deletions

View File

@@ -254,7 +254,7 @@ class Python26Parser(Python2Parser):
POP_TOP jb_pb_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 ::= expr jmp_false_then list_iter
'''
def p_ret26(self, args):