summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch5.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-21 13:12:18 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-21 13:12:18 +0000
commit7445ce33fee77d72d3bdbfd4c76642646a481698 (patch)
tree3af0ddb387acf04637867134b80924c5bd5130cb /gcc/ada/sem_ch5.adb
parent100a3e05702aeedd867f59ba63b339c30bd55618 (diff)
downloadgcc-7445ce33fee77d72d3bdbfd4c76642646a481698.tar.gz
2015-05-21 Ed Schonberg <schonberg@adacore.com>
* sem_ch5.adb: minor reformatting. 2015-05-21 Robert Dewar <dewar@adacore.com> * freeze.adb (Freeze_Entity): Properly tag -gnatw.z messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch5.adb')
-rw-r--r--gcc/ada/sem_ch5.adb9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/ada/sem_ch5.adb b/gcc/ada/sem_ch5.adb
index 38c32df4c1e..dcdc7ebab0a 100644
--- a/gcc/ada/sem_ch5.adb
+++ b/gcc/ada/sem_ch5.adb
@@ -1727,9 +1727,9 @@ package body Sem_Ch5 is
-- implements the reversible iterator interface.
function Get_Cursor_Type (Typ : Entity_Id) return Entity_Id;
- -- For containers with Iterator and related aspects, the cursor the
- -- is obtained by locating an entity with the proper name in the
- -- scope of the type.
+ -- For containers with Iterator and related aspects, the cursor is
+ -- obtained by locating an entity with the proper name in the scope
+ -- of the type.
-----------------------------
-- Check_Reverse_Iteration --
@@ -2179,8 +2179,7 @@ package body Sem_Ch5 is
elsif Iter_Kind = N_Function_Call then
Obj := First_Actual (Original_Node (Iter_Name));
- -- If neither, likely previous error, make sure Obj has some
- -- reasonable value in such a case.
+ -- If neither, the name comes from source
else
Obj := Iter_Name;