aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Symbol.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/Symbol.py')
-rw-r--r--pyGHDL/dom/Symbol.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyGHDL/dom/Symbol.py b/pyGHDL/dom/Symbol.py
index 047fd624f..1865e4481 100644
--- a/pyGHDL/dom/Symbol.py
+++ b/pyGHDL/dom/Symbol.py
@@ -108,7 +108,8 @@ class IndexedObjectOrFunctionCallSymbol(VHDLModel_IndexedObjectOrFunctionCallSym
kind = GetIirKindOfNode(item)
if kind == nodes.Iir_Kind.Association_Element_By_Expression:
- expr = None # GetExpressionFromNode(nodes.Get_Associated_Expr(item))
+ actual = nodes.Get_Actual(item)
+ expr = GetExpressionFromNode(actual)
associations.append(expr)
else: