From 55da78e95df865ba2e2048e6546e4fffcfe020da Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 31 Jul 2016 15:49:43 +0200 Subject: Rework warnings to have a uniq tag per warning. --- src/ghdldrv/ghdlcomp.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ghdldrv/ghdlcomp.adb') 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; -- cgit v1.2.3