You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Python 3.4 if ifelse decompyling now works.
This commit is contained in:
@@ -306,6 +306,7 @@ class GenericParser:
|
||||
|
||||
def makeState(self, state, sym):
|
||||
assert sym is not None
|
||||
# print(sym) # debug
|
||||
#
|
||||
# Compute \epsilon-kernel state's core and see if
|
||||
# it exists already.
|
||||
@@ -554,7 +555,7 @@ class GenericParser:
|
||||
rule = self.ambiguity(self.newrules[nt])
|
||||
else:
|
||||
rule = self.newrules[nt][0]
|
||||
# print(rule)
|
||||
# print(rule) # debug
|
||||
|
||||
rhs = rule[1]
|
||||
attr = [None] * len(rhs)
|
||||
@@ -573,7 +574,7 @@ class GenericParser:
|
||||
rule = choices[0]
|
||||
if len(choices) > 1:
|
||||
rule = self.ambiguity(choices)
|
||||
# print(rule)
|
||||
# print(rule) # debug
|
||||
|
||||
rhs = rule[1]
|
||||
attr = [None] * len(rhs)
|
||||
|
Reference in New Issue
Block a user