sem_ch7.adb (Install_Parent_Private_Declarations): New procedure nested within Analyz...
authorGary Dismukes <dismukes@adacore.com>
Tue, 15 Nov 2005 14:03:10 +0000 (15:03 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 14:03:10 +0000 (15:03 +0100)
commita59e9305af116b773cf8240a7f3c50c24f9aab9b
tree136ec9faf25b55b76a92477dd12fb68397510af6
parente660dbf7fe236acf74dfde6945bcc20d5468d2af
sem_ch7.adb (Install_Parent_Private_Declarations): New procedure nested within Analyze_Package_Specification to install the...

2005-11-14  Gary Dismukes  <dismukes@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* sem_ch7.adb (Install_Parent_Private_Declarations): New procedure
nested within Analyze_Package_Specification to install the private
declarations and use clauses within each of the parent units of a
package instance of a generic child package.
(Analyze_Package_Specification): When entering a private part of a
package associated with a generic instance or formal package, the
private declarations of the parent must be installed (by calling new
procedure Install_Parent_Private_Declarations).
Change name Is_Package to Is_Package_Or_Generic_Package
(Preserve_Full_Attributes): For a synchronized type, the corresponding
record is absent in a generic context, which does not indicate a
compiler error.

From-SVN: r107002
gcc/ada/sem_ch7.adb