]> gcc.gnu.org Git - gcc.git/commit - gcc/java/parse.y
class.c (common_enclosing_context_p): New function.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Thu, 1 Jun 2000 07:44:58 +0000 (07:44 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Thu, 1 Jun 2000 07:44:58 +0000 (00:44 -0700)
commit152de068640f04fc98afdd252a828d7f601c5d65
tree586253d11f233cbb77aa2d57a0c67ea6ec106370
parent3aac3c2fd48d6b18b196acb1b9ad5cf9a0cd85ac
class.c (common_enclosing_context_p): New function.

2000-04-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (common_enclosing_context_p): New function.
* java-tree.h (common_enclosing_context_p): Added prototype.
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Relaxed test to allow
classes sharing an outer context with the current instance.
* parse.y (build_access_to_thisn): Fixed leading comment.
(verify_constructor_super): New local `supper_inner'. Skip
enclosing context argument in the case of inner class constructors.
(patch_method_invocation): Insert proper context as second
parameter to pure inner class constructor super invocations.

This fixes the Java PR #177.

From-SVN: r34332
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/java-tree.h
gcc/java/parse.c
gcc/java/parse.h
gcc/java/parse.y
This page took 0.063908 seconds and 5 git commands to generate.