aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ghdldrv/ghdllocal.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index 45a0152fa..1f70ceae1 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -862,7 +862,7 @@ package body Ghdllocal is
Put_Line (":");
end if;
Design_File := Vhdl.Sem_Lib.Load_File_Name (Id);
- if Design_File = Null_Iir then
+ if Errorout.Nbr_Errors /= 0 then
return;
end if;