diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-30 17:17:33 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-30 17:17:33 +0200 |
commit | a18e3d62790873a98c07b098647a7002a24a1690 (patch) | |
tree | 0642edd4a753596c880abaf39ba029b60bd63cc9 /gcc/ada/a-crdlli.ads | |
parent | 1ebc2612da88cbb87faed5106329fd03831e0ebc (diff) | |
download | gcc-a18e3d62790873a98c07b098647a7002a24a1690.zip gcc-a18e3d62790873a98c07b098647a7002a24a1690.tar.gz gcc-a18e3d62790873a98c07b098647a7002a24a1690.tar.bz2 |
[multiple changes]
2014-07-30 Ed Schonberg <schonberg@adacore.com>
* a-crdlli.ads: Place declaration of Empty_List after full type
declaration for Curosr, to prevent freezing error.
2014-07-30 Robert Dewar <dewar@adacore.com>
* get_targ.adb: Minor code reorganization.
* prj-proc.adb, prj-proc.ads, get_targ.ads, sem_ch6.adb: Minor
reformatting.
2014-07-30 Ed Schonberg <schonberg@adacore.com>
* a-cbhase.adb: a-cbhase.adb (Insert): Raise Constraint_Error,
not Program_Error, when attempting to remove an element not in
the set. This is the given semantics for all set containers.
2014-07-30 Ed Schonberg <schonberg@adacore.com>
* a-rbtgbo.adb: -rbtgbo.adb (Delete_Node_Sans_Free): If
element is not present in tree return rather than violating
an assertion. Constraint_Error will be raised in the caller if
element is not in the container.
From-SVN: r213300
Diffstat (limited to 'gcc/ada/a-crdlli.ads')
-rw-r--r-- | gcc/ada/a-crdlli.ads | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/a-crdlli.ads b/gcc/ada/a-crdlli.ads index f2b5865..c18005f 100644 --- a/gcc/ada/a-crdlli.ads +++ b/gcc/ada/a-crdlli.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2004-2009, Free Software Foundation, Inc. -- +-- Copyright (C) 2004-2014, 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- -- @@ -321,8 +321,6 @@ private Length : Count_Type := 0; end record; - Empty_List : constant List := (0, others => <>); - type List_Access is access all List; for List_Access'Storage_Size use 0; @@ -332,6 +330,8 @@ private Node : Count_Type := 0; end record; + Empty_List : constant List := (0, others => <>); + No_Element : constant Cursor := (null, 0); end Ada.Containers.Restricted_Doubly_Linked_Lists; |