From 506d49798a78f67735c9a529eb849c152ced1e4b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 27 Jan 2016 05:10:10 +0100 Subject: psl: use Tables instead of GNAT.Table, regenerate, add copyrights. --- src/psl/psl-hash.adb | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'src/psl/psl-hash.adb') diff --git a/src/psl/psl-hash.adb b/src/psl/psl-hash.adb index 62744b336..3333066bb 100644 --- a/src/psl/psl-hash.adb +++ b/src/psl/psl-hash.adb @@ -1,4 +1,22 @@ -with GNAT.Table; +-- PSL - HDL interface. +-- Copyright (C) 2002-2016 Tristan Gingold +-- +-- GHDL is free software; you can redistribute it and/or modify it under +-- the terms of the GNU General Public License as published by the Free +-- Software Foundation; either version 2, or (at your option) any later +-- version. +-- +-- GHDL is distributed in the hope that it will be useful, but WITHOUT ANY +-- WARRANTY; without even the implied warranty of MERCHANTABILITY or +-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +-- for more details. +-- +-- You should have received a copy of the GNU General Public License +-- 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 Tables; package body PSL.Hash is @@ -12,12 +30,11 @@ package body PSL.Hash is Hash_Size : constant Index_Type := 127; - package Cells is new GNAT.Table + package Cells is new Tables (Table_Component_Type => Cell_Record, Table_Index_Type => Index_Type, Table_Low_Bound => 0, - Table_Initial => 256, - Table_Increment => 100); + Table_Initial => 256); procedure Init is begin -- cgit v1.2.3