aboutsummaryrefslogtreecommitdiffstats
path: root/src/libraries.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-04 16:49:19 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-04 19:24:20 +0200
commitfc028b5d21727da66dc8e146b3dbcfc870c64f90 (patch)
tree59462a5173067a24482976035564e135ce4303c0 /src/libraries.adb
parent7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b (diff)
downloadghdl-fc028b5d21727da66dc8e146b3dbcfc870c64f90.tar.gz
ghdl-fc028b5d21727da66dc8e146b3dbcfc870c64f90.tar.bz2
ghdl-fc028b5d21727da66dc8e146b3dbcfc870c64f90.zip
vhdl: move scanner under vhdl hierarchy.
Diffstat (limited to 'src/libraries.adb')
-rw-r--r--src/libraries.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libraries.adb b/src/libraries.adb
index dd70b615a..ff499717c 100644
--- a/src/libraries.adb
+++ b/src/libraries.adb
@@ -21,7 +21,7 @@ with GNAT.OS_Lib;
with Logging; use Logging;
with Tables;
with Errorout; use Errorout;
-with Scanner;
+with Vhdl.Scanner;
with Iirs_Utils; use Iirs_Utils;
with Name_Table; use Name_Table;
with Str_Table;
@@ -327,7 +327,7 @@ package body Libraries is
-- Return TRUE if the library was found.
function Load_Library (Library: Iir_Library_Declaration) return Boolean
is
- use Scanner;
+ use Vhdl.Scanner;
use Tokens;
File : Source_File_Entry;
@@ -418,7 +418,7 @@ package body Libraries is
return False;
end if;
- Scanner.Set_File (File);
+ Vhdl.Scanner.Set_File (File);
-- Parse header.
Scan;
@@ -601,7 +601,7 @@ package body Libraries is
end loop;
Set_Date (Library, Max_Date);
- Scanner.Close_File;
+ Vhdl.Scanner.Close_File;
-- Don't need the library file anymore.
Files_Map.Unload_Last_Source_File (File);