aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-21 06:44:18 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-21 06:44:18 +0100
commit43933d2b1073b657827cfcfc7105d84141926f2a (patch)
treed2fda1e187fdde12575a6751b46061860e29fa45
parent14cbc02b016795f60dd8221c5aa0dd0174bb7bba (diff)
downloadghdl-43933d2b1073b657827cfcfc7105d84141926f2a.tar.gz
ghdl-43933d2b1073b657827cfcfc7105d84141926f2a.tar.bz2
ghdl-43933d2b1073b657827cfcfc7105d84141926f2a.zip
sem_types: improve error message.
-rw-r--r--src/vhdl/sem_types.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/sem_types.adb b/src/vhdl/sem_types.adb
index 5f9438a8f..a38ae68a2 100644
--- a/src/vhdl/sem_types.adb
+++ b/src/vhdl/sem_types.adb
@@ -546,7 +546,8 @@ package body Sem_Types is
and then not Is_Fully_Constrained_Type (El_Type)
then
Error_Msg_Sem
- (+Def, "array element of unconstrained %n is not allowed",
+ (+Def,
+ "array element of unconstrained %n is not allowed before vhdl08",
+El_Type);
end if;
Set_Resolved_Flag (Def, Get_Resolved_Flag (El_Type));