diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-12-25 22:27:02 +0100 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-12-25 22:27:02 +0100 |
commit | 4be45cbc3b4fc20eae8f817fce7bd508d6964691 (patch) | |
tree | 9366a219e06c444560fff3f6ce6032abba0c1d9e /pyGHDL/dom/NonStandard.py | |
parent | c02d6c4372f2250321cdaed0105cdc5273370bbc (diff) | |
download | ghdl-4be45cbc3b4fc20eae8f817fce7bd508d6964691.tar.gz ghdl-4be45cbc3b4fc20eae8f817fce7bd508d6964691.tar.bz2 ghdl-4be45cbc3b4fc20eae8f817fce7bd508d6964691.zip |
Converted more symbols for packages and contexts.
Diffstat (limited to 'pyGHDL/dom/NonStandard.py')
-rw-r--r-- | pyGHDL/dom/NonStandard.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py index 0bfc774bf..64c34b527 100644 --- a/pyGHDL/dom/NonStandard.py +++ b/pyGHDL/dom/NonStandard.py @@ -48,7 +48,6 @@ from pyVHDLModel.SyntaxModel import ( Design as VHDLModel_Design, Library as VHDLModel_Library, Document as VHDLModel_Document, - LibraryReferenceSymbol, ) from pyGHDL.libghdl import ( @@ -82,8 +81,8 @@ from pyGHDL.dom.DesignUnit import ( PackageInstantiation, LibraryClause, UseClause, - ContextReference, -) + ContextReference, ) +from pyGHDL.dom.Symbol import LibraryReferenceSymbol from pyGHDL.dom.PSL import VerificationUnit, VerificationProperty, VerificationMode @@ -195,7 +194,8 @@ class Document(VHDLModel_Document): for item in utils.chain_iter(context): itemKind = GetIirKindOfNode(item) if itemKind is nodes.Iir_Kind.Library_Clause: - contextNames.append(LibraryReferenceSymbol(SimpleName(item, GetNameOfNode(item)))) + libraryIdentifier = GetNameOfNode(item) + contextNames.append(LibraryReferenceSymbol(item, libraryIdentifier)) if nodes.Get_Has_Identifier_List(item): continue |