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/ortho/mcode/ortho_ident.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/ortho/mcode/ortho_ident.adb')
-rw-r--r-- | src/ortho/mcode/ortho_ident.adb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ortho/mcode/ortho_ident.adb b/src/ortho/mcode/ortho_ident.adb index 0893b75dd..9b5a36ed0 100644 --- a/src/ortho/mcode/ortho_ident.adb +++ b/src/ortho/mcode/ortho_ident.adb @@ -16,22 +16,20 @@ -- Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. with Ada.Text_IO; -with GNAT.Table; +with Tables; package body Ortho_Ident is - package Ids is new GNAT.Table + package Ids is new Tables (Table_Component_Type => Natural, Table_Index_Type => O_Ident, Table_Low_Bound => 2, - Table_Initial => 128, - Table_Increment => 100); + Table_Initial => 128); - package Strs is new GNAT.Table + package Strs is new Tables (Table_Component_Type => Character, Table_Index_Type => Natural, Table_Low_Bound => 2, - Table_Initial => 128, - Table_Increment => 100); + Table_Initial => 128); function Get_Identifier (Str : String) return O_Ident is |