3.8 ifelsestmt grammar rule...

and remove optional "c_stmts" in 3.7 "ifelsesmt" rule. We may
have to come back and add something, but when we do we'll be more
careful and this is probably all for the better.
This commit is contained in:
rocky
2020-01-22 22:50:27 -05:00
parent 31481de209
commit 29715bb8bf
4 changed files with 5 additions and 1 deletions

View File

@@ -818,7 +818,7 @@ class Python37Parser(Python37BaseParser):
# This handles the case where a "JUMP_ABSOLUTE" is part
# of an inner if in c_stmts_opt
ifelsestmt ::= testexpr c_stmts_opt come_froms
ifelsestmt ::= testexpr c_stmts come_froms
else_suite come_froms
# ifelsestmt ::= testexpr c_stmts_opt jump_forward_else