aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.h
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>2000-06-01 07:44:58 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-06-01 00:44:58 -0700
commit152de068640f04fc98afdd252a828d7f601c5d65 (patch)
tree586253d11f233cbb77aa2d57a0c67ea6ec106370 /gcc/java/java-tree.h
parent3aac3c2fd48d6b18b196acb1b9ad5cf9a0cd85ac (diff)
downloadgcc-152de068640f04fc98afdd252a828d7f601c5d65.zip
gcc-152de068640f04fc98afdd252a828d7f601c5d65.tar.gz
gcc-152de068640f04fc98afdd252a828d7f601c5d65.tar.bz2
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
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r--gcc/java/java-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index a05573f..8f2b2c8 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -696,6 +696,7 @@ extern void set_super_info PARAMS ((int, tree, tree, int));
extern int get_access_flags_from_decl PARAMS ((tree));
extern int interface_of_p PARAMS ((tree, tree));
extern int inherits_from_p PARAMS ((tree, tree));
+extern int common_enclosing_context_p PARAMS ((tree, tree));
extern int enclosing_context_p PARAMS ((tree, tree));
extern void complete_start_java_method PARAMS ((tree));
extern tree build_result_decl PARAMS ((tree));