Commit 26ff8ede by Javier Miranda Committed by Arnaud Charlet

2008-05-29 Javier Miranda <miranda@adacore.com>

	* sem_util.adb:
	(Abstract_Interface_List): Add missing support for full type-declaration
	associated with synchronized types.

From-SVN: r136143
parent 623fba70
...@@ -99,6 +99,10 @@ package body Sem_Util is ...@@ -99,6 +99,10 @@ package body Sem_Util is
Nod := Parent (Base_Type (Typ)); Nod := Parent (Base_Type (Typ));
if Nkind (Nod) = N_Full_Type_Declaration then
return Empty_List;
end if;
elsif Ekind (Typ) = E_Record_Type_With_Private then elsif Ekind (Typ) = E_Record_Type_With_Private then
if Nkind (Parent (Typ)) = N_Full_Type_Declaration then if Nkind (Parent (Typ)) = N_Full_Type_Declaration then
Nod := Type_Definition (Parent (Typ)); Nod := Type_Definition (Parent (Typ));
......
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