aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-16 08:38:08 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-16 08:38:08 +0200
commitcfd13a0983b26c984444a7d2759ac577d2aa1d74 (patch)
tree2519558aa224f99cb4f18b547f929365063a695f
parent7c8ed1216609d69cd6a092620d7aa1334e432fd9 (diff)
downloadghdl-cfd13a0983b26c984444a7d2759ac577d2aa1d74.tar.gz
ghdl-cfd13a0983b26c984444a7d2759ac577d2aa1d74.tar.bz2
ghdl-cfd13a0983b26c984444a7d2759ac577d2aa1d74.zip
vhdl-sem_specs: allow protected body in scope of an attribute. Fix #2134
-rw-r--r--src/vhdl/vhdl-sem_specs.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_specs.adb b/src/vhdl/vhdl-sem_specs.adb
index e75c786fb..87e576e78 100644
--- a/src/vhdl/vhdl-sem_specs.adb
+++ b/src/vhdl/vhdl-sem_specs.adb
@@ -513,6 +513,8 @@ package body Vhdl.Sem_Specs is
null;
when Iir_Kind_Anonymous_Type_Declaration =>
null;
+ when Iir_Kind_Protected_Type_Body =>
+ null;
when Iir_Kind_Psl_Default_Clock =>
null;
when others =>