2005-03-08 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2005 16:17:37 +0000 (16:17 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2005 16:17:37 +0000 (16:17 +0000)
commit9ee52f4ca646087212bf4012b168dc28de05cab5
treebacc65b3eea1bdfb645660b492750df9ac27f63d
parent0fd914d3001d43b3e6c8f9adb895cac8a25d0139
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96506 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_ch6.adb