aboutsummaryrefslogtreecommitdiffstats
path: root/src/files_map.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-09-10 20:59:08 +0200
committerTristan Gingold <tgingold@free.fr>2015-09-10 20:59:08 +0200
commit42f4c411641c04da2b8f08f9029e17bfd37206e4 (patch)
tree97db2955734ee7e059f461cef8a2924eeb49271d /src/files_map.adb
parent95632804220716d4993d3e4b0d0cba06d984a837 (diff)
downloadghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.tar.gz
ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.tar.bz2
ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.zip
Reimplement table package (used instead of GNAT.Table).
Diffstat (limited to 'src/files_map.adb')
-rw-r--r--src/files_map.adb7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/files_map.adb b/src/files_map.adb
index 94e4badbe..3f561e07c 100644
--- a/src/files_map.adb
+++ b/src/files_map.adb
@@ -20,7 +20,7 @@ with Interfaces.C;
with Ada.Characters.Latin_1;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation;
-with GNAT.Table;
+with Tables;
with GNAT.OS_Lib;
with GNAT.SHA1;
with GNAT.Directory_Operations;
@@ -74,12 +74,11 @@ package body Files_Map is
-- Next location to use.
Next_Location : Location_Type := Location_Nil + 1;
- package Source_Files is new GNAT.Table
+ package Source_Files is new Tables
(Table_Index_Type => Source_File_Entry,
Table_Component_Type => Source_File_Record,
Table_Low_Bound => No_Source_File_Entry + 1,
- Table_Initial => 16,
- Table_Increment => 100);
+ Table_Initial => 16);
function Get_Last_Source_File_Entry return Source_File_Entry is
begin