aboutsummaryrefslogtreecommitdiffstats
path: root/src/lists.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/lists.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/lists.adb')
-rw-r--r--src/lists.adb7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lists.adb b/src/lists.adb
index 38afea595..ff0702fbf 100644
--- a/src/lists.adb
+++ b/src/lists.adb
@@ -16,7 +16,7 @@
-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-- 02111-1307, USA.
with System;
-with GNAT.Table;
+with Tables;
package body Lists is
type Node_Array_Fat is array (Natural) of Node_Type;
@@ -29,12 +29,11 @@ package body Lists is
Els : Node_Array_Fat_Acc;
end record;
- package Listt is new GNAT.Table
+ package Listt is new Tables
(Table_Component_Type => List_Record,
Table_Index_Type => List_Type,
Table_Low_Bound => 4,
- Table_Initial => 128,
- Table_Increment => 100);
+ Table_Initial => 128);
--function Get_Max_Nbr_Elements (List : List_Type) return Natural;
--pragma Inline (Get_Max_Nbr_Elements);