diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-29 12:25:10 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-29 12:25:10 +0200 |
commit | d941cee6ffa3c32939d4ddf1d1b0ca1613df26d0 (patch) | |
tree | 7231c914b20a6192d1398f725c6a779419140c9a /gcc/ada/a-cbmutr.ads | |
parent | b970af399230f7b18a3c602fcf57b7d9bfe5415c (diff) | |
download | gcc-d941cee6ffa3c32939d4ddf1d1b0ca1613df26d0.tar.gz |
[multiple changes]
2011-08-29 Ed Schonberg <schonberg@adacore.com>
* sem_ch13.adb: Additional semantic checks for aspects involved in
iterators.
2011-08-29 Matthew Heaney <heaney@adacore.com>
* a-comutr.ads, a-comutr.adb, a-cimutr.ads, a-cimutr.adb,
a-cbmutr.ads, a-cbmutr.adb (Find_In_Subtree): Remove superfluous
Container parameter.
(Ancestor_Find): ditto.
2011-08-29 Robert Dewar <dewar@adacore.com>
* par-endh.adb: Minor reformatting.
From-SVN: r178190
Diffstat (limited to 'gcc/ada/a-cbmutr.ads')
-rw-r--r-- | gcc/ada/a-cbmutr.ads | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/gcc/ada/a-cbmutr.ads b/gcc/ada/a-cbmutr.ads index b62e67fe308..818cde28a1c 100644 --- a/gcc/ada/a-cbmutr.ads +++ b/gcc/ada/a-cbmutr.ads @@ -113,22 +113,36 @@ package Ada.Containers.Bounded_Multiway_Trees is Item : Element_Type) return Cursor; -- This version of the AI: - - -- 10-06-02 AI05-0136-1/07 - - -- declares Find_In_Subtree with a Container parameter, but this seems - -- incorrect. We need a ruling from the ARG about whether this really was - -- intended. ??? + -- 10-06-02 AI05-0136-1/07 + -- declares Find_In_Subtree this way: + -- + -- function Find_In_Subtree + -- (Container : Tree; + -- Item : Element_Type; + -- Position : Cursor) return Cursor; + -- + -- It seems that the Container parameter is there by mistake, but we need + -- an official ruling from the ARG. ??? function Find_In_Subtree - (Container : Tree; - Item : Element_Type; - Position : Cursor) return Cursor; + (Position : Cursor; + Item : Element_Type) return Cursor; + + -- This version of the AI: + -- 10-06-02 AI05-0136-1/07 + -- declares Ancestor_Find this way: + -- + -- function Ancestor_Find + -- (Container : Tree; + -- Item : Element_Type; + -- Position : Cursor) return Cursor; + -- + -- It seems that the Container parameter is there by mistake, but we need + -- an official ruling from the ARG. ??? function Ancestor_Find - (Container : Tree; - Item : Element_Type; - Position : Cursor) return Cursor; + (Position : Cursor; + Item : Element_Type) return Cursor; function Contains (Container : Tree; |