Fix typo bug introduced in refactoring.

This commit is contained in:
rocky
2020-01-15 19:47:03 -05:00
parent 546269271f
commit 3fbe0b90e3

View File

@@ -644,8 +644,8 @@ class Python2Parser(PythonParser):
# "and": and_check,
"except_handler_else": except_handler_else,
# "or": or_check,
"try_elsestmt": tryelsestmt,
"try_elsestmtl": tryelsestmt,
"tryelsestmt": tryelsestmt,
"tryelsestmtl": tryelsestmt,
}
self.check_reduce["and"] = "AST"
self.check_reduce["except_handler_else"] = "tokens"