egcs/gcc/java class.c expr.c jcf-parse.c parse ...
apbianco@gcc.gnu.org
apbianco@gcc.gnu.org
Thu Dec 30 14:36:00 GMT 1999
CVSROOT: /cvs/gcc
Module name: egcs
Changes by: apbianco@sourceware.cygnus.com 99/12/30 14:36:25
Modified files:
gcc/java : class.c expr.c jcf-parse.c parse.h parse.y
typeck.c ChangeLog
Log message:
1999-12-14 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (class_depth): Return -1 if the class doesn't load
properly.
* expr.c (can_widen_reference_to): Check for errors during depth
computation and return 0 accordingly.
* jcf-parse.c (parse_source_file): Call java_fix_constructors to
create default constructors and add an other error check.
* parse.h (java_fix_constructors): Prototyped.
* parse.y (java_pre_expand_clinit): Likewise.
(build_super_invocation): Re-prototyped to feature one argument.
(java_check_circular_reference): Directly use `current'.
(java_fix_constructors): New function.
(java_check_regular_methods): Don't create default constructors
here, but abort if none were found.
(java_complete_expand_methods): Pre-process <clinit> calling
java_pre_expand_clinit.
(java_pre_expand_clinit): New function.
(fix_constructors): build_super_invocation invoked with the
current method declaration as an argument.
(build_super_invocation): Use the context of the processed method
decl argument instead of current_class.
* typeck.c (lookup_java_method): Take WFLs in method names into
account.
More information about the Gcc-cvs
mailing list