aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));