aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/NonStandard.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-15 10:43:09 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-15 10:43:09 +0200
commitd67bfa80c0c7d013a99636d7959cf433000ab2e7 (patch)
tree4b5f37cd0e0f2aeb460d2d188bc15f1181e9614c /pyGHDL/dom/NonStandard.py
parentbee2616e7fed89c042f79592ddfafa2f6aea451e (diff)
downloadghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.tar.gz
ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.tar.bz2
ghdl-d67bfa80c0c7d013a99636d7959cf433000ab2e7.zip
Modifications due to changes in Symbols.
Diffstat (limited to 'pyGHDL/dom/NonStandard.py')
-rw-r--r--pyGHDL/dom/NonStandard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py
index 31cc28480..d4e2fa1a5 100644
--- a/pyGHDL/dom/NonStandard.py
+++ b/pyGHDL/dom/NonStandard.py
@@ -40,6 +40,7 @@ import time
from pathlib import Path
from typing import Any
+from pyGHDL.dom.Names import SimpleName
from pyTooling.Decorators import export, InheritDocString
from pyVHDLModel import VHDLVersion
@@ -208,7 +209,7 @@ class Document(VHDLModel_Document):
itemKind = GetIirKindOfNode(item)
if itemKind is nodes.Iir_Kind.Library_Clause:
libraryIdentifier = GetNameOfNode(item)
- contextNames.append(LibraryReferenceSymbol(item, libraryIdentifier))
+ contextNames.append(LibraryReferenceSymbol(item, SimpleName(item, libraryIdentifier)))
if nodes.Get_Has_Identifier_List(item):
continue