diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-09-10 20:59:08 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-09-10 20:59:08 +0200 |
commit | 42f4c411641c04da2b8f08f9029e17bfd37206e4 (patch) | |
tree | 97db2955734ee7e059f461cef8a2924eeb49271d /src/str_table.adb | |
parent | 95632804220716d4993d3e4b0d0cba06d984a837 (diff) | |
download | ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.tar.gz ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.tar.bz2 ghdl-42f4c411641c04da2b8f08f9029e17bfd37206e4.zip |
Reimplement table package (used instead of GNAT.Table).
Diffstat (limited to 'src/str_table.adb')
-rw-r--r-- | src/str_table.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/str_table.adb b/src/str_table.adb index eeebea1d4..46a42dfe8 100644 --- a/src/str_table.adb +++ b/src/str_table.adb @@ -15,19 +15,18 @@ -- along with GHDL; see the file COPYING. If not, write to the Free -- Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. -with GNAT.Table; +with Tables; package body Str_Table is -- Be sure the elements are packed. type El_Nat8 is new Nat8; for El_Nat8'Size use 8; - package String8_Table is new GNAT.Table + package String8_Table is new Tables (Table_Index_Type => String8_Id, Table_Component_Type => El_Nat8, Table_Low_Bound => Null_String8 + 1, - Table_Initial => 1024, - Table_Increment => 100); + Table_Initial => 1024); Cur_String8 : String8_Id := 0; |