From 43933d2b1073b657827cfcfc7105d84141926f2a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 21 Nov 2018 06:44:18 +0100 Subject: sem_types: improve error message. --- src/vhdl/sem_types.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3