diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-04 15:10:21 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-04 15:10:21 +0100 |
commit | 288f28c87e097c42b8c10e8d73cd1fbf75942412 (patch) | |
tree | 412bc32c63d39f35731bf4a7354c8cada260416e /gcc | |
parent | 8daa1407f25ea782a2e9fd35d6a30807cabfecc9 (diff) | |
download | gcc-288f28c87e097c42b8c10e8d73cd1fbf75942412.zip gcc-288f28c87e097c42b8c10e8d73cd1fbf75942412.tar.gz gcc-288f28c87e097c42b8c10e8d73cd1fbf75942412.tar.bz2 |
Minor reformatting.
From-SVN: r180957
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sem_ch5.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch5.adb b/gcc/ada/sem_ch5.adb index 2ddf1af..0e6c5cf 100644 --- a/gcc/ada/sem_ch5.adb +++ b/gcc/ada/sem_ch5.adb @@ -2431,7 +2431,7 @@ package body Sem_Ch5 is declare Element : constant Entity_Id := - Find_Aspect (Typ, Aspect_Iterator_Element); + Find_Aspect (Typ, Aspect_Iterator_Element); begin if No (Element) then Error_Msg_NE ("cannot iterate over&", N, Typ); @@ -2453,7 +2453,6 @@ package body Sem_Ch5 is Error_Msg_NE ("cannot iterate over&", Name (N), Typ); else - Error_Msg_N ("name must be an iterator, not a container", Name (N)); end if; |