Commit 4eb317cc by Thomas Quinot Committed by Arnaud Charlet

sem_type.adb (Get_First_Interp): Fix wrong loop exit condition.

2009-07-22  Thomas Quinot  <quinot@adacore.com>

	* sem_type.adb (Get_First_Interp): Fix wrong loop exit condition.

From-SVN: r149924
parent a36c1c3e
2009-07-22 Thomas Quinot <quinot@adacore.com>
* sem_type.adb (Get_First_Interp): Fix wrong loop exit condition.
2009-07-22 Robert Dewar <dewar@adacore.com> 2009-07-22 Robert Dewar <dewar@adacore.com>
* sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB * sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB
......
...@@ -2116,7 +2116,7 @@ package body Sem_Type is ...@@ -2116,7 +2116,7 @@ package body Sem_Type is
end if; end if;
Map_Ptr := Headers (Hash (O_N)); Map_Ptr := Headers (Hash (O_N));
while Present (Interp_Map.Table (Map_Ptr).Node) loop while Map_Ptr /= No_Entry loop
if Interp_Map.Table (Map_Ptr).Node = O_N then if Interp_Map.Table (Map_Ptr).Node = O_N then
Int_Ind := Interp_Map.Table (Map_Ptr).Index; Int_Ind := Interp_Map.Table (Map_Ptr).Index;
It := All_Interp.Table (Int_Ind); It := All_Interp.Table (Int_Ind);
......
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