Bug in Python 3.x genexpr

This commit is contained in:
rocky
2016-05-15 19:28:22 -04:00
parent 2c121545f0
commit 6be6632e96
5 changed files with 15 additions and 5 deletions

View File

@@ -102,9 +102,6 @@ class PythonParser(GenericASTBuilder):
def p_genexpr(self, args):
'''
expr ::= genexpr
genexpr ::= LOAD_GENEXPR MAKE_FUNCTION_0 expr GET_ITER CALL_FUNCTION_1
stmt ::= genexpr_func
genexpr_func ::= LOAD_FAST FOR_ITER designator comp_iter JUMP_BACK