Fix 3.1 and 3.2 named and kwargs parsing..

Improve 3.4 coverage and note a 3.5 while bug
This commit is contained in:
rocky
2017-12-07 15:50:27 -05:00
parent 41bfa3fc01
commit 88fbb691d8
7 changed files with 37 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ class Python35Parser(Python34Parser):
while1stmt ::= SETUP_LOOP l_stmts POP_BLOCK COME_FROM_LOOP
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK
POP_BLOCK else_suite COME_FROM_LOOP
whilestmt ::= SETUP_LOOP testexpr return_stmts POP_BLOCK COME_FROM_LOOP
# The following rule is for Python 3.5+ where we can have stuff like
# while ..