Fix 3.x generator bug...

found by Daniel Brandburn. See
af61622960
This commit is contained in:
rocky
2016-05-21 05:05:03 -04:00
parent 95bc1a76cb
commit 09f6286bec
6 changed files with 29 additions and 10 deletions

View File

@@ -288,6 +288,8 @@ class PythonParser(GenericASTBuilder):
comp_if ::= expr jmp_false comp_iter
comp_ifnot ::= expr jmp_true comp_iter
comp_for ::= expr _for designator comp_iter JUMP_BACK
"""
def p_expr(self, args):