diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-21 06:44:18 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-11-21 06:44:18 +0100 |
commit | 43933d2b1073b657827cfcfc7105d84141926f2a (patch) | |
tree | d2fda1e187fdde12575a6751b46061860e29fa45 | |
parent | 14cbc02b016795f60dd8221c5aa0dd0174bb7bba (diff) | |
download | ghdl-43933d2b1073b657827cfcfc7105d84141926f2a.tar.gz ghdl-43933d2b1073b657827cfcfc7105d84141926f2a.tar.bz2 ghdl-43933d2b1073b657827cfcfc7105d84141926f2a.zip |
sem_types: improve error message.
-rw-r--r-- | src/vhdl/sem_types.adb | 3 |
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)); |