Commit c40840b2 by Robert Dewar Committed by Arnaud Charlet

sem_ch12.adb: Minor reformatting

2008-07-31  Robert Dewar  <dewar@adacore.com>

	* sem_ch12.adb: Minor reformatting

From-SVN: r138377
parent 2dc74010
...@@ -2413,10 +2413,9 @@ package body Sem_Ch12 is ...@@ -2413,10 +2413,9 @@ package body Sem_Ch12 is
Error_Msg_N ("no visible entity matches specification", Def); Error_Msg_N ("no visible entity matches specification", Def);
end if; end if;
else -- More than one interpretation, so disambiguate as for a renaming
-- Several interpretations. Disambiguate as for a renaming.
else
declare declare
I : Interp_Index; I : Interp_Index;
I1 : Interp_Index := 0; I1 : Interp_Index := 0;
...@@ -2427,7 +2426,6 @@ package body Sem_Ch12 is ...@@ -2427,7 +2426,6 @@ package body Sem_Ch12 is
Subp := Any_Id; Subp := Any_Id;
Get_First_Interp (Def, I, It); Get_First_Interp (Def, I, It);
while Present (It.Nam) loop while Present (It.Nam) loop
if Entity_Matches_Spec (It.Nam, Nam) then if Entity_Matches_Spec (It.Nam, Nam) then
if Subp /= Any_Id then if Subp /= Any_Id then
It1 := Disambiguate (Def, I1, I, Etype (Subp)); It1 := Disambiguate (Def, I1, I, Etype (Subp));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment