summaryrefslogtreecommitdiff
path: root/sem_scopes.adb
diff options
context:
space:
mode:
Diffstat (limited to 'sem_scopes.adb')
-rw-r--r--sem_scopes.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/sem_scopes.adb b/sem_scopes.adb
index e00ffb8..b50d4c2 100644
--- a/sem_scopes.adb
+++ b/sem_scopes.adb
@@ -925,6 +925,11 @@ package body Sem_Scopes is
when Iir_Kinds_Signal_Attribute =>
null;
+ when Iir_Kind_Protected_Type_Body =>
+ -- FIXME: allowed only in debugger (if the current scope is
+ -- within a package body) ?
+ null;
+
when others =>
Error_Kind ("iterator_decl", Decl);
end case;