diff options
author | Tristan Gingold | 2015-09-10 20:59:08 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-09-10 20:59:08 +0200 |
commit | 42f4c411641c04da2b8f08f9029e17bfd37206e4 (patch) | |
tree | 97db2955734ee7e059f461cef8a2924eeb49271d /src/vhdl/nodes.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/vhdl/nodes.adb')
-rw-r--r-- | src/vhdl/nodes.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vhdl/nodes.adb b/src/vhdl/nodes.adb index 3f0a2b3..88548f7 100644 --- a/src/vhdl/nodes.adb +++ b/src/vhdl/nodes.adb @@ -15,7 +15,7 @@ -- 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 Nodes is -- Suppress the access check of the table base. This is really safe to @@ -31,12 +31,11 @@ package body Nodes is -- iirs do their own checks. pragma Suppress (Discriminant_Check); - package Nodet is new GNAT.Table + package Nodet is new Tables (Table_Component_Type => Node_Record, Table_Index_Type => Node_Type, Table_Low_Bound => 2, - Table_Initial => 1024, - Table_Increment => 100); + Table_Initial => 1024); function Get_Last_Node return Node_Type is begin |