NT break_stmt, continue_stmt -> break, continue...

to match AST
This commit is contained in:
rocky
2017-12-06 01:48:44 -05:00
parent f8d6998b22
commit 7daf95fcb4
6 changed files with 9 additions and 9 deletions

View File

@@ -107,7 +107,7 @@ class Python26Parser(Python2Parser):
assert ::= assert_expr jmp_true LOAD_ASSERT RAISE_VARARGS_1 come_froms_pop
assert2 ::= assert_expr jmp_true LOAD_ASSERT expr RAISE_VARARGS_2 come_froms_pop
break_stmt ::= BREAK_LOOP JUMP_BACK
break ::= BREAK_LOOP JUMP_BACK
# Semantic actions want else_suitel to be at index 3
ifelsestmtl ::= testexpr c_stmts_opt cf_jb_cf_pop else_suitel