aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_decls.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/sem_decls.adb')
-rw-r--r--src/vhdl/sem_decls.adb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vhdl/sem_decls.adb b/src/vhdl/sem_decls.adb
index aaafcf023..7cf490249 100644
--- a/src/vhdl/sem_decls.adb
+++ b/src/vhdl/sem_decls.adb
@@ -448,6 +448,11 @@ package body Sem_Decls is
Xref_Decl (Inter);
end Sem_Interface_Type_Declaration;
+ procedure Sem_Interface_Subprogram_Declaration (Inter : Iir) is
+ begin
+ Sem_Subprogram_Specification (Inter);
+ end Sem_Interface_Subprogram_Declaration;
+
procedure Sem_Interface_Chain (Interface_Chain: Iir;
Interface_Kind : Interface_Kind_Type)
is
@@ -474,6 +479,8 @@ package body Sem_Decls is
Sem_Interface_Package_Declaration (Inter);
when Iir_Kind_Interface_Type_Declaration =>
Sem_Interface_Type_Declaration (Inter);
+ when Iir_Kinds_Interface_Subprogram_Declaration =>
+ Sem_Interface_Subprogram_Declaration (Inter);
end case;
-- LRM08 6.5.6 Interface lists