You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Grammar coverage and pruning
This commit is contained in:
@@ -42,6 +42,9 @@ class Python32Parser(Python3Parser):
|
||||
pass
|
||||
|
||||
def add_custom_rules(self, tokens, customize):
|
||||
# self.remove_rules("""
|
||||
# cmp_list2 ::= expr COMPARE_OP RETURN_VALUE
|
||||
# """)
|
||||
super(Python32Parser, self).add_custom_rules(tokens, customize)
|
||||
for i, token in enumerate(tokens):
|
||||
opname = token.kind
|
||||
|
Reference in New Issue
Block a user