diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-16 23:56:16 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:36 +0200 |
commit | 597bc9928352ba187bdb0a707332a5f7a0a28e1a (patch) | |
tree | ba8eba2a7842a7a24cc0b2f5cbb7c578a39111c3 /pyGHDL/dom/NonStandard.py | |
parent | 3f0308a5f807269aa5691fa1c704c0e9147d45f1 (diff) | |
download | ghdl-597bc9928352ba187bdb0a707332a5f7a0a28e1a.tar.gz ghdl-597bc9928352ba187bdb0a707332a5f7a0a28e1a.tar.bz2 ghdl-597bc9928352ba187bdb0a707332a5f7a0a28e1a.zip |
Handle context references.
Diffstat (limited to 'pyGHDL/dom/NonStandard.py')
-rw-r--r-- | pyGHDL/dom/NonStandard.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py index b59efeacb..1cd98b4fa 100644 --- a/pyGHDL/dom/NonStandard.py +++ b/pyGHDL/dom/NonStandard.py @@ -74,6 +74,7 @@ from pyGHDL.dom.DesignUnit import ( PackageInstantiation, LibraryClause, UseClause, + ContextReference, ) from pyGHDL.dom.PSL import VerificationUnit, VerificationProperty, VerificationMode @@ -189,6 +190,8 @@ class Document(VHDLModel_Document): contextNames = [] elif itemKind is nodes.Iir_Kind.Use_Clause: contextItems.append(UseClause.parse(item)) + elif itemKind is nodes.Iir_Kind.Context_Reference: + contextItems.append(ContextReference.parse(item)) else: pos = Position.parse(item) raise DOMException( |