aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/ortho_front.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/translate/ortho_front.adb')
-rw-r--r--src/vhdl/translate/ortho_front.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/translate/ortho_front.adb b/src/vhdl/translate/ortho_front.adb
index 1eb8a3cd8..f17713b0f 100644
--- a/src/vhdl/translate/ortho_front.adb
+++ b/src/vhdl/translate/ortho_front.adb
@@ -273,7 +273,7 @@ package body Ortho_Front is
Flags.Flag_Elaborate := False;
-- Read and parse the file.
- Res := Load_File (Vhdl_File);
+ Res := Load_File_Name (Vhdl_File);
if Errorout.Nbr_Errors > 0 then
raise Compilation_Error;
end if;
@@ -454,7 +454,7 @@ package body Ortho_Front is
begin
L := Anaelab_Files;
while L /= null loop
- Res := Load_File (L.Id);
+ Res := Load_File_Name (L.Id);
if Errorout.Nbr_Errors > 0 then
raise Compilation_Error;
end if;