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.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlxml.adb b/src/ghdldrv/ghdlxml.adb
index 49a997670..a37e6dbe1 100644
--- a/src/ghdldrv/ghdlxml.adb
+++ b/src/ghdldrv/ghdlxml.adb
@@ -26,6 +26,7 @@ with Ghdlprint; use Ghdlprint;
with Libraries;
with Errorout; use Errorout;
with Iirs; use Iirs;
+with Sem_Lib; use Sem_Lib;
with Ghdlmain; use Ghdlmain;
with Ghdllocal; use Ghdllocal;
@@ -561,7 +562,7 @@ package body Ghdlxml is
return;
end if;
Files (I).Fe := File;
- Files (I).Design_File := Libraries.Load_File (File);
+ Files (I).Design_File := Load_File (File);
if Files (I).Design_File = Null_Iir then
return;
end if;