aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_psl.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-30 18:39:34 +0100
committerTristan Gingold <tgingold@free.fr>2019-10-30 18:39:34 +0100
commit5460489790f0b2934b1b61c8610b798ab7a47d4d (patch)
treef0ad037c34e6e8ac53722c5236ca3c81b8c02482 /src/vhdl/vhdl-sem_psl.adb
parentbeadc8e7be3d5d58f6b76d405673642c58b23a30 (diff)
downloadghdl-5460489790f0b2934b1b61c8610b798ab7a47d4d.tar.gz
ghdl-5460489790f0b2934b1b61c8610b798ab7a47d4d.tar.bz2
ghdl-5460489790f0b2934b1b61c8610b798ab7a47d4d.zip
vhdl: allow attributes in vunit declarations.
Diffstat (limited to 'src/vhdl/vhdl-sem_psl.adb')
-rw-r--r--src/vhdl/vhdl-sem_psl.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_psl.adb b/src/vhdl/vhdl-sem_psl.adb
index 3843a3ff7..ca9192cb2 100644
--- a/src/vhdl/vhdl-sem_psl.adb
+++ b/src/vhdl/vhdl-sem_psl.adb
@@ -1010,7 +1010,9 @@ package body Vhdl.Sem_Psl is
| Iir_Kind_Function_Declaration
| Iir_Kind_Procedure_Declaration
| Iir_Kind_Function_Body
- | Iir_Kind_Procedure_Body =>
+ | Iir_Kind_Procedure_Body
+ | Iir_Kind_Attribute_Declaration
+ | Iir_Kind_Attribute_Specification =>
Sem_Decls.Sem_Declaration
(Item, Prev_Item, False, Attr_Spec_Chain);
when Iir_Kind_Concurrent_Simple_Signal_Assignment =>