summaryrefslogtreecommitdiff
path: root/gcc/ada/a-cidlli.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-09-09 15:38:12 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-09-09 15:38:12 +0200
commit9d983bbf20d818173dab18c236192bb071494604 (patch)
tree572dfe6b1fb775d2b68e68da8844450085547166 /gcc/ada/a-cidlli.adb
parente999233aec72c62af6523a02e71649d0528ac963 (diff)
downloadgcc-9d983bbf20d818173dab18c236192bb071494604.tar.gz
[multiple changes]
2010-09-09 Matthew Heaney <heaney@adacore.com> * a-convec.adb, a-coinve.adb (Clear, Delete, Delete_Last, Finalize, Merge, Insert, Insert_Space, Move, Reserve_Capacity, Generic_Sorting, Replace_Element, Reverse_Elements, Swap): Change exception message to correctly indicate kind of tampering (cursor or element). * a-cdlili.adb, a-cidlli.adb (Clear, Delete, Delete_First, Delete_Last, Merge, Generic_Sorting, Insert, Move, Reverse_Elements, Splice, Swap_Links, Replace_Element, Swap): Ditto. * a-coorse.adb, a-ciorse.adb (Include, Replace, Replace_Element): Ditto * a-coorma.adb, a-ciorma.adb (Include, Replace, Replace_Element): Ditto * a-coormu.adb, a-ciormu.adb (Replace_Element): Ditto * a-chtgke.adb (Delete_Key_Sans_Free, Generic_Conditional_Insert, Generic_Replace_Element): Ditto * a-chtgop.adb (Clear, Move, Reserve_Capacity): Ditto * a-cohama.adb, a-cihama.adb (Delete, Include, Replace, Replace_Element): Ditto. * a-cohase.adb, a-cihase.adb (Delete, Difference, Intersection, Symmetric_Difference, Union, Include, Replace): Ditto 2010-09-09 Ed Schonberg <schonberg@adacore.com> * sprint.adb (Write_Id): If the parent node is an expanded name, check that its entity_or_associated_node is an entity before writing it out. * exp_disp.adb (Make_Tags); if a type is declared in C++ and has no constructors, there is no need for a dispatch table pointer because the table is fully inherited from the C++ code. 2010-09-09 Thomas Quinot <quinot@adacore.com> * projects.texi: Fix wrong identifiers on package end lines in project files examples. * exp_ch6.adb: Minor reformatting. 2010-09-09 Tristan Gingold <gingold@adacore.com> * gnatcmd.adb, vms_conv.ads, vms_help.adb, vms_cmds.ads: Extract Command_Type from vms_conv.ads. 2010-09-09 Eric Botcazou <ebotcazou@adacore.com> * gnat_ugn.texi: Fix description of -O3 optimization level. From-SVN: r164092
Diffstat (limited to 'gcc/ada/a-cidlli.adb')
-rw-r--r--gcc/ada/a-cidlli.adb40
1 files changed, 20 insertions, 20 deletions
diff --git a/gcc/ada/a-cidlli.adb b/gcc/ada/a-cidlli.adb
index 0d01502e05d..8d1f8e36439 100644
--- a/gcc/ada/a-cidlli.adb
+++ b/gcc/ada/a-cidlli.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 2004-2010, 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- --
@@ -175,7 +175,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
while Container.Length > 1 loop
@@ -254,7 +254,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
for Index in 1 .. Count loop
@@ -304,7 +304,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
for I in 1 .. Count loop
@@ -342,7 +342,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
for I in 1 .. Count loop
@@ -510,12 +510,12 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Target.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Target (list is busy)";
+ "attempt to tamper with cursors of Target (list is busy)";
end if;
if Source.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Source (list is busy)";
+ "attempt to tamper with cursors of Source (list is busy)";
end if;
LI := First (Target);
@@ -627,7 +627,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
Sort (Front => null, Back => null);
@@ -665,7 +665,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Before.Container /= null then
if Before.Container /= Container'Unrestricted_Access then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
if Before.Node = null
@@ -689,7 +689,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
declare
@@ -867,7 +867,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Source.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Source (list is busy)";
+ "attempt to tamper with cursors of Source (list is busy)";
end if;
Clear (Target);
@@ -1077,7 +1077,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Lock > 0 then
raise Program_Error with
- "attempt to tamper with cursors (list is locked)";
+ "attempt to tamper with elements (list is locked)";
end if;
if Position.Node.Element = null then
@@ -1156,7 +1156,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
Container.First := J;
@@ -1293,12 +1293,12 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Target.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Target (list is busy)";
+ "attempt to tamper with cursors of Target (list is busy)";
end if;
if Source.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Source (list is busy)";
+ "attempt to tamper with cursors of Source (list is busy)";
end if;
if Target.Length = 0 then
@@ -1388,7 +1388,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
if Before.Node = null then
@@ -1504,12 +1504,12 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Target.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Target (list is busy)";
+ "attempt to tamper with cursors of Target (list is busy)";
end if;
if Source.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements of Source (list is busy)";
+ "attempt to tamper with cursors of Source (list is busy)";
end if;
if Position.Node = Source.First then
@@ -1608,7 +1608,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Lock > 0 then
raise Program_Error with
- "attempt to tamper with cursors (list is locked)";
+ "attempt to tamper with elements (list is locked)";
end if;
pragma Assert (Vet (I), "bad I cursor in Swap");
@@ -1654,7 +1654,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
if Container.Busy > 0 then
raise Program_Error with
- "attempt to tamper with elements (list is busy)";
+ "attempt to tamper with cursors (list is busy)";
end if;
pragma Assert (Vet (I), "bad I cursor in Swap_Links");