Skip to content

Commit 01cc184

Browse files
committed
dict grammar rule cleanup
1 parent 2771cb4 commit 01cc184

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

uncompyle6/parsers/parse3.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,10 +649,6 @@ def customize_grammar_rules(self, tokens, customize):
649649
# FIXME: Use the attr
650650
# so this doesn't run into exponential parsing time.
651651
if opname.startswith('BUILD_MAP_UNPACK'):
652-
self.add_unique_rule(rule, opname, token.attr, customize)
653-
rule = 'dict_entry ::= ' + 'expr ' * (token.attr*2)
654-
self.add_unique_rule(rule, opname, token.attr, customize)
655-
656652
# FIXME: start here. The LHS should be unmap_dict, not dict.
657653
# FIXME: really we need a combination of dict_entry-like things.
658654
# It just so happens the most common case is not to mix

0 commit comments

Comments
 (0)