aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 8470b6ea3..4d367621c 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -680,7 +680,7 @@ package body Ghdlprint is
-- exist.
for I in Args'Range loop
Id := Get_Identifier (Args (I).all);
- Design_File := Load_File (Id);
+ Design_File := Load_File_Name (Id);
if Design_File = Null_Iir then
raise Compile_Error;
end if;
@@ -994,7 +994,7 @@ package body Ghdlprint is
-- Parse all files.
for I in Args'Range loop
Id := Name_Table.Get_Identifier (Args (I).all);
- Design_File := Load_File (Id);
+ Design_File := Load_File_Name (Id);
if Design_File = Null_Iir then
raise Errorout.Compilation_Error;
end if;