Commit bf8b6bfc by Sergey Rybin Committed by Arnaud Charlet

sem_prag.adb (Process_Extended_Import_Export_Subprogram_Pragma): Set Entity…

sem_prag.adb (Process_Extended_Import_Export_Subprogram_Pragma): Set Entity field for formal_parameter_NAME in MECHANISM_ASSOCIATION.

2008-05-28  Sergey Rybin  <rybin@adacore.com>

	* sem_prag.adb (Process_Extended_Import_Export_Subprogram_Pragma): Set
	Entity field for formal_parameter_NAME in MECHANISM_ASSOCIATION.

From-SVN: r136106
parent 8aa15e3b
...@@ -3194,6 +3194,10 @@ package body Sem_Prag is ...@@ -3194,6 +3194,10 @@ package body Sem_Prag is
if Chars (Choice) = Chars (Formal) then if Chars (Choice) = Chars (Formal) then
Set_Mechanism_Value Set_Mechanism_Value
(Formal, Expression (Massoc)); (Formal, Expression (Massoc));
-- Set entity on identifier for ASIS
Set_Entity (Choice, Formal);
exit; exit;
end if; end if;
......
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