2000-11-22 Alexandre Petit-Bianco <apbianco@cygnus.com>
commit15694f1431a2ecaf58ecf7e6e125a982010788c7
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Nov 2000 06:04:16 +0000 (23 06:04 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Nov 2000 06:04:16 +0000 (23 06:04 +0000)
tree3c74edddfbfa61e4f31307fd8dda94eae1d5cea2
parentd7dfeca8e8f2450c08c8cadecbf8c4cb048119d7
2000-11-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (build_outer_field_access): New local `decl_ctx', use
it. Check for field's context and current class immediate outer
context inheritance.
(outer_field_access_p): Consider fields inherited from the last
enclosing context.
(build_access_to_thisn): Stop at the last enclosing context if
necessary.
Fixes gcj/367.

(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01335.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37689 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/parse.y