aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlxml.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlxml.adb')
-rw-r--r--src/ghdldrv/ghdlxml.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlxml.adb b/src/ghdldrv/ghdlxml.adb
index 15a8a2940..59de6f386 100644
--- a/src/ghdldrv/ghdlxml.adb
+++ b/src/ghdldrv/ghdlxml.adb
@@ -555,7 +555,9 @@ package body Ghdlxml is
Files : File_Data_Array;
begin
-- Load work library.
- Setup_Libraries (True);
+ if not Setup_Libraries (True) then
+ return;
+ end if;
-- Parse all files.
for I in Files'Range loop