diff options
author | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2000-03-06 22:25:14 -0800 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2000-03-06 22:25:14 -0800 |
commit | 614eaae0a5de347b8fed549b0acdab2ef1b141d9 (patch) | |
tree | 21007f6e90dfbf502b8219c186d62fdeefad01e2 /gcc/java/java-tree.h | |
parent | 141b58108437ef9f1984b78f194933f5b68bab22 (diff) | |
download | gcc-614eaae0a5de347b8fed549b0acdab2ef1b141d9.zip gcc-614eaae0a5de347b8fed549b0acdab2ef1b141d9.tar.gz gcc-614eaae0a5de347b8fed549b0acdab2ef1b141d9.tar.bz2 |
[multiple changes]
2000-03-06 Bryce McKinlay <bryce@albatross.co.nz>
* typeck.c (lookup_do): Search superinterfaces first
when looking up an interface method. From Godmar Back
<gback@cs.utah.edu>
2000-03-02 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java-tree.h (lookup_argument_method2): Declared.
(safe_layout_class): Prototype moved from parse.h.
* parse.h (safe_layout_class): Prototype moved to java-tree.h.
* parse.y (java_check_regular_methods): Local `super_class' gone.
Call lookup_argument_method2 instead of lookup_argument_method.
Perform modifier match for methods found declared in implemented
interfaces. Fixed indentation problem. Overriding/hiding error
report to take place only for methods found in classes.
* typeck.c (lookup_argument_method): Changed leading
comment. Re-written by calling lookup_do.
(lookup_argument_method2): New function.
(lookup_java_method): Re-written by calling lookup_do.
(lookup_do): New function.
From-SVN: r32376
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 146893a..629061f 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -510,6 +510,7 @@ extern tree lookup_class PARAMS ((tree)); extern tree lookup_java_constructor PARAMS ((tree, tree)); extern tree lookup_java_method PARAMS ((tree, tree, tree)); extern tree lookup_argument_method PARAMS ((tree, tree, tree)); +extern tree lookup_argument_method2 PARAMS ((tree, tree, tree)); extern tree promote_type PARAMS ((tree)); extern tree get_constant PARAMS ((struct JCF*, int)); extern tree get_name_constant PARAMS ((struct JCF*, int)); @@ -665,6 +666,7 @@ extern char* open_class PARAMS ((char *, struct JCF *, int, const char *)); # endif /* JCF_USE_STDIO */ #endif void java_debug_context PARAMS ((void)); +void safe_layout_class PARAMS ((tree)); extern tree get_boehm_type_descriptor PARAMS ((tree)); |