projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8daa140
)
Minor reformatting.
author
Arnaud Charlet
<charlet@gcc.gnu.org>
Fri, 4 Nov 2011 14:10:21 +0000
(15:10 +0100)
committer
Arnaud Charlet
<charlet@gcc.gnu.org>
Fri, 4 Nov 2011 14:10:21 +0000
(15:10 +0100)
From-SVN: r180957
gcc/ada/sem_ch5.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_ch5.adb
b/gcc/ada/sem_ch5.adb
index 2ddf1af53bb4177ad3a70aa74bafc80917bc029f..0e6c5cf98bd46f3fd8252521d32b3a4a37caf551 100644
(file)
--- 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;