Bang on Python 3.8

This commit is contained in:
rocky
2019-04-10 07:22:43 -04:00
parent 820283827f
commit f3d86e0708
15 changed files with 60 additions and 27 deletions

View File

@@ -26,8 +26,10 @@ class Python38Parser(Python37Parser):
def p_38misc(self, args):
"""
stmt ::= for38
for38 ::= expr get_iter store for_block JUMP_BACK
for38 ::= expr for_iter store for_block JUMP_BACK
for38 ::= expr for_iter store for_block JUMP_BACK POP_BLOCK
forelsestmt ::= expr for_iter store for_block POP_BLOCK else_suite
forelselaststmt ::= expr for_iter store for_block POP_BLOCK else_suitec