You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Add if/then rule to assist 2.5 parsing
This commit is contained in:
@@ -60,6 +60,8 @@ class Python25Parser(Python26Parser):
|
||||
|
||||
kvlist ::= kvlist kv
|
||||
kv ::= DUP_TOP expr ROT_TWO expr STORE_SUBSCR
|
||||
|
||||
_ifstmts_jump ::= c_stmts_opt COME_FROM JUMP_ABSOLUTE COME_FROM POP_TOP
|
||||
"""
|
||||
|
||||
def customize_grammar_rules(self, tokens, customize):
|
||||
|
Reference in New Issue
Block a user