aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-03-14 06:49:28 +0100
committerTristan Gingold <tgingold@free.fr>2017-03-14 06:49:28 +0100
commitd922decc915578dd0d750a139cb7a4fff36f1286 (patch)
tree00f7e3a54eedbcf01630821f556551b7146f68c5 /src/vhdl
parent4e2a152374d2dabdbb46962669a497424d00e52e (diff)
downloadghdl-d922decc915578dd0d750a139cb7a4fff36f1286.tar.gz
ghdl-d922decc915578dd0d750a139cb7a4fff36f1286.tar.bz2
ghdl-d922decc915578dd0d750a139cb7a4fff36f1286.zip
Detect missing association for subprogram interface
Fix #316
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/sem_assocs.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/sem_assocs.adb b/src/vhdl/sem_assocs.adb
index adb57e112..4c9617b58 100644
--- a/src/vhdl/sem_assocs.adb
+++ b/src/vhdl/sem_assocs.adb
@@ -2596,7 +2596,9 @@ package body Sem_Assocs is
null;
end case;
end if;
- when Iir_Kind_Interface_Package_Declaration =>
+ when Iir_Kind_Interface_Package_Declaration
+ | Iir_Kind_Interface_Function_Declaration
+ | Iir_Kind_Interface_Procedure_Declaration =>
Error_Msg_Sem (+Loc, "%n must be associated", +Inter);
Match := Not_Compatible;
when others =>