[voltLib] use OrderedDict for mapping
This commit is contained in:
parent
31a1aa8c7a
commit
76d8084d77
@ -302,7 +302,7 @@ class Parser(object):
|
||||
raise VoltLibError(
|
||||
"Invalid substitution type",
|
||||
location)
|
||||
mapping = dict(zip(tuple(src), tuple(dest)))
|
||||
mapping = OrderedDict(zip(tuple(src), tuple(dest)))
|
||||
if max_src == 1 and max_dest == 1:
|
||||
if reversal:
|
||||
sub = ast.SubstitutionReverseChainingSingleDefinition(
|
||||
|
Loading…
x
Reference in New Issue
Block a user