diff --git a/uncompyle6/parsers/parse2.py b/uncompyle6/parsers/parse2.py index 5683dde3..23e3573d 100644 --- a/uncompyle6/parsers/parse2.py +++ b/uncompyle6/parsers/parse2.py @@ -319,7 +319,7 @@ class Python2Parser(PythonParser): build_count = token.attr thousands = build_count // 1024 thirty32s = (build_count // 32) % 32 - if thirty32s > 0: + if thirty32s > 0 or thousands > 0: rule = "expr32 ::=%s" % (" expr" * 32) self.add_unique_rule(rule, opname_base, build_count, customize) if thousands > 0: diff --git a/uncompyle6/parsers/parse3.py b/uncompyle6/parsers/parse3.py index c39689b9..77eb18e8 100644 --- a/uncompyle6/parsers/parse3.py +++ b/uncompyle6/parsers/parse3.py @@ -844,7 +844,7 @@ class Python3Parser(PythonParser): build_count = token.attr thousands = build_count // 1024 thirty32s = (build_count // 32) % 32 - if thirty32s > 0: + if thirty32s > 0 or thousands > 0: rule = "expr32 ::=%s" % (" expr" * 32) self.add_unique_rule(rule, opname_base, build_count, customize) pass