diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-12 18:24:32 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-13 18:50:55 +0100 |
commit | b88d47ab749a684ef32cb7d55bdfcea4c229d7a0 (patch) | |
tree | bd4bc3fa3068ed9a1c8df9be01f885fcb3f727ba /src/ghdldrv/ghdlcomp.adb | |
parent | ccf8b3bf2854641388619e68325998b9ddd229de (diff) | |
download | ghdl-b88d47ab749a684ef32cb7d55bdfcea4c229d7a0.tar.gz ghdl-b88d47ab749a684ef32cb7d55bdfcea4c229d7a0.tar.bz2 ghdl-b88d47ab749a684ef32cb7d55bdfcea4c229d7a0.zip |
Rename overloaded Load_File and export it to python.
Diffstat (limited to 'src/ghdldrv/ghdlcomp.adb')
-rw-r--r-- | src/ghdldrv/ghdlcomp.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb index 5ccb1f9ab..6533d9225 100644 --- a/src/ghdldrv/ghdlcomp.adb +++ b/src/ghdldrv/ghdlcomp.adb @@ -215,7 +215,7 @@ package body Ghdlcomp is Design : Iir; Next_Design : Iir; begin - Res := Load_File (Name_Table.Get_Identifier (File)); + Res := Load_File_Name (Name_Table.Get_Identifier (File)); if Errorout.Nbr_Errors > 0 then raise Compilation_Error; end if; @@ -239,7 +239,7 @@ package body Ghdlcomp is Unit : Iir; Next_Unit : Iir; begin - Design_File := Load_File (Id); + Design_File := Load_File_Name (Id); if Design_File = Null_Iir or else Errorout.Nbr_Errors > 0 then -- Stop now in case of error (file not found or parse error). return Design_File; @@ -397,7 +397,7 @@ package body Ghdlcomp 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 Errorout.Nbr_Errors > 0 then raise Compilation_Error; end if; |