Fix "for ... if" bug introduced since 3.6.2...

However we've isolated and documented the 3.x grammar a little bit better
This commit is contained in:
rocky
2020-01-17 04:29:47 -05:00
parent 549c33113b
commit 027c9a7dc0
7 changed files with 31 additions and 8 deletions

View File

@@ -952,6 +952,8 @@ class Python37Parser(Python37BaseParser):
"""
stmt ::= if_expr_lambda
stmt ::= conditional_not_lambda
# If statement inside a loop:
stmt ::= ifstmtl
if_expr_lambda ::= expr jmp_false expr return_if_lambda