LOAD assert needs to be on 3.x...

Expand testing
This commit is contained in:
rocky
2018-03-26 18:11:57 -04:00
parent 1afe1fd943
commit 3d218c84b0
8 changed files with 25 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ class Python3Parser(PythonParser):
stmt ::= classdefdeco
classdefdeco ::= classdefdeco1 store
expr ::= LOAD_ASSERT
assert ::= assert_expr jmp_true LOAD_ASSERT RAISE_VARARGS_1 COME_FROM
assert_expr ::= expr

View File

@@ -31,6 +31,9 @@ class Python34Parser(Python33Parser):
expr ::= LOAD_ASSERT
# passtmt is needed for semantic actions to add "pass"
suite_stmts_opt ::= pass
# Seems to be needed starting 3.4.4 or so
while1stmt ::= SETUP_LOOP l_stmts
COME_FROM JUMP_BACK POP_BLOCK COME_FROM_LOOP