aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdllocal.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-05 07:18:49 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-05 08:05:10 +0200
commit53fcf00d88d1a3b34c7833aa4c421ea52f3e03dd (patch)
tree1d54f41e948b16a5ff6ad0cedafccf978a13bd89 /src/ghdldrv/ghdllocal.adb
parentd1f0fedf7882cf1b15ea6450da5bbd878d007a98 (diff)
downloadghdl-53fcf00d88d1a3b34c7833aa4c421ea52f3e03dd.tar.gz
ghdl-53fcf00d88d1a3b34c7833aa4c421ea52f3e03dd.tar.bz2
ghdl-53fcf00d88d1a3b34c7833aa4c421ea52f3e03dd.zip
vhdl: move sem* packages to vhdl children.
Diffstat (limited to 'src/ghdldrv/ghdllocal.adb')
-rw-r--r--src/ghdldrv/ghdllocal.adb18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index e0f5c6a24..e723f4629 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -20,7 +20,7 @@ with Ada.Command_Line;
with GNAT.Directory_Operations;
with Types; use Types;
with Libraries;
-with Sem_Lib;
+with Vhdl.Sem_Lib;
with Std_Package;
with Flags;
with Name_Table;
@@ -638,7 +638,7 @@ package body Ghdllocal is
for I in Args'Range loop
Id := Get_Identifier (Args (I).all);
- Design_File := Sem_Lib.Load_File_Name (Id);
+ Design_File := Vhdl.Sem_Lib.Load_File_Name (Id);
if Design_File /= Null_Iir then
Unit := Get_First_Design_Unit (Design_File);
while Unit /= Null_Iir loop
@@ -699,7 +699,7 @@ package body Ghdllocal is
-- Parse all files.
for I in Args'Range loop
Id := Name_Table.Get_Identifier (Args (I).all);
- Design_File := Sem_Lib.Load_File_Name (Id);
+ Design_File := Vhdl.Sem_Lib.Load_File_Name (Id);
if Design_File /= Null_Iir then
Unit := Get_First_Design_Unit (Design_File);
while Unit /= Null_Iir loop
@@ -734,7 +734,7 @@ package body Ghdllocal is
| Date_Analyzed =>
null;
when Date_Parsed =>
- Sem_Lib.Finish_Compilation (Unit, False);
+ Vhdl.Sem_Lib.Finish_Compilation (Unit, False);
when others =>
raise Internal_Error;
end case;
@@ -809,7 +809,7 @@ package body Ghdllocal is
Put (File_Name);
Put_Line (":");
end if;
- Design_File := Sem_Lib.Load_File_Name (Id);
+ Design_File := Vhdl.Sem_Lib.Load_File_Name (Id);
if Design_File = Null_Iir then
return;
end if;
@@ -822,7 +822,7 @@ package body Ghdllocal is
New_Line;
end if;
-- Sem, canon, annotate a design unit.
- Sem_Lib.Finish_Compilation (Unit, True);
+ Vhdl.Sem_Lib.Finish_Compilation (Unit, True);
Next_Unit := Get_Chain (Unit);
if Errorout.Nbr_Errors = 0 then
@@ -1266,14 +1266,14 @@ package body Ghdllocal is
Set_Design_File_Source (File, Fe);
Unit := Get_First_Design_Unit (File);
while Unit /= Null_Iir loop
- Sem_Lib.Load_Parse_Design_Unit (Unit, Null_Iir);
+ Vhdl.Sem_Lib.Load_Parse_Design_Unit (Unit, Null_Iir);
Extract_Library_Clauses (Unit);
Unit := Get_Chain (Unit);
end loop;
else
-- File has been modified.
-- Parse it.
- Design_File := Sem_Lib.Load_File (Fe);
+ Design_File := Vhdl.Sem_Lib.Load_File (Fe);
-- Exit now in case of parse error.
if Design_File = Null_Iir
@@ -1391,7 +1391,7 @@ package body Ghdllocal is
Get_File_Checksum (File))
then
-- FILE has been modified.
- Design_File := Sem_Lib.Load_File (Fe);
+ Design_File := Vhdl.Sem_Lib.Load_File (Fe);
if Design_File /= Null_Iir then
Libraries.Add_Design_File_Into_Library (Design_File);
end if;