diff options
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/_Translate.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py index d24ac33bc..fc804caf4 100644 --- a/pyGHDL/dom/_Translate.py +++ b/pyGHDL/dom/_Translate.py @@ -176,8 +176,10 @@ def GetAssociations(node: Iir) -> List: for item in utils.chain_iter(nodes.Get_Association_Chain(node)): kind = GetIirKindOfNode(item) - if kind in (nodes.Iir_Kind.Association_Element_By_Expression, - nodes.Iir_Kind.Association_Element_By_Name): + if kind in ( + nodes.Iir_Kind.Association_Element_By_Expression, + nodes.Iir_Kind.Association_Element_By_Name, + ): actual = nodes.Get_Actual(item) expr = GetExpressionFromNode(actual) |