define stmts_op for 2.6

used in a recently-added rule
This commit is contained in:
rocky
2024-07-19 21:34:11 -04:00
parent e07597ea44
commit 836f3b5b78

View File

@@ -132,6 +132,9 @@ class Python26Parser(Python2Parser):
ifelsestmtc ::= testexpr c_stmts_opt ja_cf_pop else_suitec
ifelsestmt ::= testexpr stmts_opt ja_cf_pop else_suite
stmts_opt ::= stmts
stmts_opt ::=
# The last except of a "try: ... except" can do this...
except_suite ::= stmts_opt COME_FROM JUMP_ABSOLUTE POP_TOP