aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/errorout.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-07 18:45:33 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-07 18:45:33 +0200
commita2c0447aeb1e1b3fca1d84716a2a97a5f65d3c30 (patch)
treee6966abbf56ad36ed80ea5301240a25aef54ce39 /src/vhdl/errorout.ads
parentcebafc9a8bcc4664dd00de5efad97dd0b709d3a9 (diff)
downloadghdl-a2c0447aeb1e1b3fca1d84716a2a97a5f65d3c30.tar.gz
ghdl-a2c0447aeb1e1b3fca1d84716a2a97a5f65d3c30.tar.bz2
ghdl-a2c0447aeb1e1b3fca1d84716a2a97a5f65d3c30.zip
vhdl: Add a warning for null range in discrete type declaration.
For issue #810
Diffstat (limited to 'src/vhdl/errorout.ads')
-rw-r--r--src/vhdl/errorout.ads6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vhdl/errorout.ads b/src/vhdl/errorout.ads
index 8da60ee15..6825b1c0d 100644
--- a/src/vhdl/errorout.ads
+++ b/src/vhdl/errorout.ads
@@ -362,9 +362,9 @@ private
type Warnings_Setting is array (Msgid_Warnings) of Warning_Control_Type;
Default_Warnings : constant Warnings_Setting :=
- (Warnid_Binding | Warnid_Library | Warnid_Shared
- | Warnid_Pure | Warnid_Specs | Warnid_Hide
- | Warnid_Port => (Enabled => True, Error => False),
+ (Warnid_Library | Warnid_Binding | Warnid_Port | Warnid_Shared
+ | Warnid_Runtime_Error | Warnid_Pure | Warnid_Specs
+ | Warnid_Hide => (Enabled => True, Error => False),
others => (Enabled => False, Error => False));
-- Compute the column from Error_Record E.