aboutsummaryrefslogtreecommitdiffstats
path: root/src/psl/psl-nodes.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-01-27 05:10:10 +0100
committerTristan Gingold <tgingold@free.fr>2016-01-27 18:49:24 +0100
commit506d49798a78f67735c9a529eb849c152ced1e4b (patch)
tree77801cc9fe89451eb311e29d4e570a427bc4206e /src/psl/psl-nodes.adb
parent2eb85a0a21effc2e7ad957216178055cb98a2300 (diff)
downloadghdl-506d49798a78f67735c9a529eb849c152ced1e4b.tar.gz
ghdl-506d49798a78f67735c9a529eb849c152ced1e4b.tar.bz2
ghdl-506d49798a78f67735c9a529eb849c152ced1e4b.zip
psl: use Tables instead of GNAT.Table, regenerate, add copyrights.
Diffstat (limited to 'src/psl/psl-nodes.adb')
-rw-r--r--src/psl/psl-nodes.adb26
1 files changed, 21 insertions, 5 deletions
diff --git a/src/psl/psl-nodes.adb b/src/psl/psl-nodes.adb
index b5464a194..263994d21 100644
--- a/src/psl/psl-nodes.adb
+++ b/src/psl/psl-nodes.adb
@@ -1,6 +1,23 @@
--- This is in fact -*- Ada -*-
+-- PSL - Nodes definition. This is in fact -*- Ada -*-
+-- 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 Ada.Unchecked_Conversion;
-with GNAT.Table;
+with Tables;
with PSL.Errors;
with PSL.Hash;
with PSL.Nodes_Meta; use PSL.Nodes_Meta;
@@ -78,12 +95,11 @@ package body PSL.Nodes is
pragma Pack (Node_Record);
for Node_Record'Size use 8 * 32;
- package Nodet is new GNAT.Table
+ package Nodet is new Tables
(Table_Component_Type => Node_Record,
Table_Index_Type => Node,
Table_Low_Bound => 1,
- Table_Initial => 1024,
- Table_Increment => 100);
+ Table_Initial => 1024);
Init_Node : constant Node_Record := (Kind => N_Error,
Flag1 => False,