Reduce check type for 2.5 and update bug reporting

This commit is contained in:
rocky
2022-03-05 04:55:11 -05:00
parent 09c10f51fa
commit 82456c15e1
2 changed files with 21 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ class Python25Parser(Python26Parser):
""")
super(Python25Parser, self).customize_grammar_rules(tokens, customize)
if self.version[:2] == (2, 5):
self.check_reduce["try_except"] = "tokens"
self.check_reduce["try_except"] = "AST"
self.check_reduce["aug_assign1"] = "AST"
self.check_reduce["ifelsestmt"] = "AST"