aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlcomp.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-07-31 15:49:43 +0200
committerTristan Gingold <tgingold@free.fr>2016-08-01 20:23:41 +0200
commit55da78e95df865ba2e2048e6546e4fffcfe020da (patch)
tree03195d60f0affbc29224c6f955efa2b236ff7398 /src/ghdldrv/ghdlcomp.adb
parentc9fdcc4584b8242c595beba67515d16ae0a4dd3b (diff)
downloadghdl-55da78e95df865ba2e2048e6546e4fffcfe020da.tar.gz
ghdl-55da78e95df865ba2e2048e6546e4fffcfe020da.tar.bz2
ghdl-55da78e95df865ba2e2048e6546e4fffcfe020da.zip
Rework warnings to have a uniq tag per warning.
Diffstat (limited to 'src/ghdldrv/ghdlcomp.adb')
-rw-r--r--src/ghdldrv/ghdlcomp.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb
index 180240710..d496c148c 100644
--- a/src/ghdldrv/ghdlcomp.adb
+++ b/src/ghdldrv/ghdlcomp.adb
@@ -363,7 +363,8 @@ package body Ghdlcomp is
-- Do late analysis checks.
Unit := Get_First_Design_Unit (New_Design_File);
while Unit /= Null_Iir loop
- Sem.Sem_Analysis_Checks_List (Unit, Flags.Warn_Delayed_Checks);
+ Sem.Sem_Analysis_Checks_List
+ (Unit, Is_Warning_Enabled (Warnid_Delayed_Checks));
Unit := Get_Chain (Unit);
end loop;