summaryrefslogtreecommitdiff
path: root/gcc/ada/elists.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:23:26 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:23:26 +0000
commit8867d63905621104856f62dd361cb2c6b49f60ef (patch)
treecfb263da79acf0351b12e03edf6c58d335c721a2 /gcc/ada/elists.ads
parentd6ab9c0927ef7fd46b2de930cf64571eaf06fdf2 (diff)
downloadgcc-8867d63905621104856f62dd361cb2c6b49f60ef.tar.gz
2007-04-20 Robert Dewar <dewar@adacore.com>
* sinput.ads, sinput.adb, uintp.ads, urealp.adb, stringt.adb, sem_elim.adb, prj-strt.adb, repinfo.ads, repinfo.adb, namet.ads, elists.ads, elists.adb, lib.ads, lib.adb (Unlock): New procedure. Fix lower bound of tables. Add rep clauses. * nlists.adb: Ditto. (Prev_Node, Next_Node): Change index type to Int so that it properly covers the range First_Node_Id - 1 up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125391 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/elists.ads')
-rw-r--r--gcc/ada/elists.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/elists.ads b/gcc/ada/elists.ads
index 6ddb45871a0..6a0fb00bb31 100644
--- a/gcc/ada/elists.ads
+++ b/gcc/ada/elists.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -62,6 +62,9 @@ package Elists is
procedure Lock;
-- Lock tables used for element lists before calling backend
+ procedure Unlock;
+ -- Unlock list tables, in cases where the back end needs to modify them
+
procedure Tree_Read;
-- Initializes internal tables from current tree file using the relevant
-- Table.Tree_Read routines. Note that Initialize should not be called if