sem_ch6.adb (Is_Private_Declaration): Verify that the declaration is attached to...
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 Mar 2005 16:17:37 +0000 (17:17 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 16:17:37 +0000 (17:17 +0100)
commit9865d858f18593270af8b98cf469b9fec76383f5
treebacc65b3eea1bdfb645660b492750df9ac27f63d
parent1a8fae99783a7e520ae9e827c06a8663b92de3d4
sem_ch6.adb (Is_Private_Declaration): Verify that the declaration is attached to a list before checking whether it...

2005-03-08  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Is_Private_Declaration): Verify that the declaration is
attached to a list before checking whether it appears in the private
declarations of the current package.
(Make_Inequality_Operator): Insert declaration in proper declarative
list rather than just setting the Parent field, so that
Is_Private_Declaration can handle it properly.

From-SVN: r96506
gcc/ada/sem_ch6.adb