Commit d882d0e1 by Ed Schonberg Committed by Arnaud Charlet

sem_ch12.adb: Add comments

2008-08-04  Ed Schonberg  <schonberg@adacore.com>

	* sem_ch12.adb: Add comments

From-SVN: r138599
parent 54838d1f
...@@ -8716,8 +8716,9 @@ package body Sem_Ch12 is ...@@ -8716,8 +8716,9 @@ package body Sem_Ch12 is
begin begin
Gen_Body_Id := Corresponding_Body (Gen_Decl); Gen_Body_Id := Corresponding_Body (Gen_Decl);
-- Subprogram body may have been created already because of -- Subprogram body may have been created already because of an inline
-- an inline pragma. -- pragma, or because of multiple elaborations of the enclosing package
-- when several instances of the subprogram appear in the main unit.
if Present (Corresponding_Body (Act_Decl)) then if Present (Corresponding_Body (Act_Decl)) then
return; return;
......
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