aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-06 06:53:37 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-06 06:53:37 +0200
commit5c10bacd0cd58926839b8904e10ef0693930bddc (patch)
treeafe13d27e5de5f3b07083bd19cbcb47f795e1f07 /src/ghdldrv/ghdlprint.adb
parent1ed24355105d59e4b99fd888964ac4bba45fdcea (diff)
downloadghdl-5c10bacd0cd58926839b8904e10ef0693930bddc.tar.gz
ghdl-5c10bacd0cd58926839b8904e10ef0693930bddc.tar.bz2
ghdl-5c10bacd0cd58926839b8904e10ef0693930bddc.zip
vhdl: move xrefs to vhdl child package.
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 400cfaaec..1795a39f6 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -32,7 +32,7 @@ with Vhdl.Scanner;
with Vhdl.Parse;
with Vhdl.Canon;
with Version;
-with Xrefs;
+with Vhdl.Xrefs;
with Vhdl.Sem_Lib; use Vhdl.Sem_Lib;
with Ghdlmain; use Ghdlmain;
with Ghdllocal; use Ghdllocal;
@@ -229,7 +229,7 @@ package body Ghdlprint is
procedure Disp_Identifier
is
- use Xrefs;
+ use Vhdl.Xrefs;
Ref : Xref;
Decl : Iir;
Bod : Iir;
@@ -311,7 +311,7 @@ package body Ghdlprint is
procedure Disp_Attribute
is
- use Xrefs;
+ use Vhdl.Xrefs;
Ref : Xref;
Decl : Iir;
Loc : Location_Type;
@@ -1315,7 +1315,7 @@ package body Ghdlprint is
Files : File_Data_Array;
Output : File_Type;
begin
- Xrefs.Init;
+ Vhdl.Xrefs.Init;
Flags.Flag_Xref := True;
-- Load work library.
@@ -1369,13 +1369,13 @@ package body Ghdlprint is
Analyze_Design_File_Units (Files (I).Design_File);
end loop;
- Xrefs.Sort_By_Location;
+ Vhdl.Xrefs.Sort_By_Location;
if False then
-- Dump locations
- for I in 1 .. Xrefs.Get_Last_Xref loop
+ for I in 1 .. Vhdl.Xrefs.Get_Last_Xref loop
declare
- use Xrefs;
+ use Vhdl.Xrefs;
procedure Put_Loc (L : Location_Type)
is
@@ -1571,7 +1571,7 @@ package body Ghdlprint is
-- Load work library.
Setup_Libraries (True);
- Xrefs.Init;
+ Vhdl.Xrefs.Init;
Flags.Flag_Xref := True;
-- Parse all files.
@@ -1597,15 +1597,15 @@ package body Ghdlprint is
Analyze_Design_File_Units (Files (I).Design_File);
end loop;
- Xrefs.Fix_End_Xrefs;
- Xrefs.Sort_By_Node_Location;
+ Vhdl.Xrefs.Fix_End_Xrefs;
+ Vhdl.Xrefs.Sort_By_Node_Location;
for F in Files'Range loop
Put ("GHDL-XREF V0");
declare
- use Xrefs;
+ use Vhdl.Xrefs;
Cur_Decl : Iir;
Cur_File : Source_File_Entry;