diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-08-07 11:42:01 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-08-07 11:42:01 +0200 |
commit | fb25a60d960ea0b6edf4c17ecf2e4aaf23aefe72 (patch) | |
tree | aaaf0e779192c7a44b2f20a6ed2313a8eaea7d89 /gcc/ada/sem_ch12.ads | |
parent | 0a69df7c0ed3cf749e9b6e87f5fa14e01553e525 (diff) | |
download | gcc-fb25a60d960ea0b6edf4c17ecf2e4aaf23aefe72.tar.gz |
[multiple changes]
2009-08-07 Robert Dewar <dewar@adacore.com>
* types.ads: Minor reformatting
* sem_ch12.ads (Check_Generic_Child_Unit): Add missing documentation.
* frontend.adb, sem_warn.adb, sem_warn.ads: Fix spelling of
Output_Non_Modified_In_Out_Warnings.
* sem_ch13.adb: Remove ??? comment.
2009-08-07 Vincent Celier <celier@adacore.com>
* mlib-prj.adb (Build_Library): Include binder generate object file
for SAL when library name is only one character.
From-SVN: r150563
Diffstat (limited to 'gcc/ada/sem_ch12.ads')
-rw-r--r-- | gcc/ada/sem_ch12.ads | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ada/sem_ch12.ads b/gcc/ada/sem_ch12.ads index c3b34173e18..a79463767ce 100644 --- a/gcc/ada/sem_ch12.ads +++ b/gcc/ada/sem_ch12.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2008, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -47,12 +47,14 @@ package Sem_Ch12 is procedure Check_Generic_Child_Unit (Gen_Id : Node_Id; Parent_Installed : in out Boolean); - -- If the name of the generic unit in an instantiation or a renaming - -- is a selected component, then the prefix may be an instance and the - -- selector may designate a child unit. Retrieve the parent generic - -- and search for the child unit that must be declared within. Similarly, - -- if this is the name of a generic child unit within an instantiation of - -- its own parent, retrieve the parent generic. + -- If the name of the generic unit in an instantiation or a renaming is a + -- selected component, then the prefix may be an instance and the selector + -- may designate a child unit. Retrieve the parent generic and search for + -- the child unit that must be declared within. Similarly, if this is the + -- name of a generic child unit within an instantiation of its own parent, + -- retrieve the parent generic. If the parent is installed as a result of + -- this call, then Parent_Installed is set True, otherwise Parent_Intalled + -- is unchanged by the call. function Copy_Generic_Node (N : Node_Id; |