Python 2.4 grammar reduction...

while increasing 2.4 increase test coverage
This commit is contained in:
rocky
2017-11-28 09:17:27 -05:00
parent 43076a2548
commit b5cd160ebb
4 changed files with 7 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -54,6 +54,7 @@ class Python24Parser(Python25Parser):
def add_custom_rules(self, tokens, customize):
self.remove_rules("""
gen_comp_body ::= expr YIELD_VALUE POP_TOP
kvlist ::= kvlist kv3
while1stmt ::= SETUP_LOOP l_stmts JUMP_BACK COME_FROM
while1stmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK COME_FROM