[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 23 Nov 2011 11:04:39 +0000 (12:04 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 23 Nov 2011 11:04:39 +0000 (12:04 +0100)
commitf947ee3467dee8ca1b681c459804b02657113e9d
tree5fb6c077b0e3f24d74204d0e539e282bdb998d66
parentfb2bd3a70d29393806e9c21c9568de1170fee9f9
[multiple changes]

2011-11-23  Ed Schonberg  <schonberg@adacore.com>

* exp_ch5.adb (Expand_Iterator_Loop): Wrap the expanded loop
and the cursor declarations in a block, so that the loop variable
is local to the construct.

2011-11-23  Matthew Heaney  <heaney@adacore.com>

* a-coorma.ads, a-ciorma.ads, a-cborma.ads (Iterate): Returns
type Reversible_Iterator'Class.
* a-coorma.adb, a-ciorma.adb, a-cborma.adb (Iterator):
Declare type as limited.
(First, Last): Return value depends on iterator's start node value.
(Next, Previous): Call corresponding Cursor-based operation.
(Iterate): Indicate whether complete or partial iteration

From-SVN: r181659
gcc/ada/ChangeLog
gcc/ada/a-cborma.adb
gcc/ada/a-cborma.ads
gcc/ada/a-ciorma.adb
gcc/ada/a-ciorma.ads
gcc/ada/a-coorma.adb
gcc/ada/a-coorma.ads
gcc/ada/exp_ch5.adb