diff options
| author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-13 04:01:43 +0000 |
|---|---|---|
| committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-13 04:01:43 +0000 |
| commit | 498e2ad3f2d55bc42b4506848d67adfedf89946e (patch) | |
| tree | d25a9959214ac681892dce2608d8b8067d1a80bf /gcc/java/class.c | |
| parent | 3b8b2b898fcb2c3ba89da278ada41c637b9ce6c9 (diff) | |
| download | ppe42-gcc-498e2ad3f2d55bc42b4506848d67adfedf89946e.tar.gz ppe42-gcc-498e2ad3f2d55bc42b4506848d67adfedf89946e.zip | |
Wed Jan 13 01:24:54 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (maybe_layout_super_class): Fixed returned value.
* lex.c: Added 1999 to the copyright.
(java_init_lex): Initialize java_lang_imported.
* lex.h: Added 1999 to the copyright.
* parse.h: Added 1999 to the copyright.
(REGISTER_IMPORT): Fixed typo in trailing macro.
(CURRENT_OSB): New macro.
(struct parser_ctxt): New fields osb_depth, osb_limit.
* parse.y (java_lang_id): New global variable.
(type_import_on_demand_declaration): Don't import java.lang.* twice.
(array_creation_expression:): Use CURRENT_OSB.
(dims:): Uses a stack to keep track of array dimensions.
(cast_expression:): Use CURRENT_OSB.
(find_expr_with_wfl): Return NULL if node found doesn't meet the
conditions.
(register_fields): Fixed typos in comment.
(check_method_redefinition): Fixed comment indentation.
(java_check_regular_methods): Set saved found wfl to NULL after
having reinstalled it in the previously found DECL_NAME.
Fix an array dimension counting bug and some random other ones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24648 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/class.c')
| -rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 49c543b81c7..66beab85d13 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1411,7 +1411,7 @@ maybe_layout_super_class (super_class) load_class (name, 1); super_class = IDENTIFIER_CLASS_VALUE (name); if (!super_class) - return; + return NULL_TREE; /* FIXME, NULL_TREE not checked by caller. */ super_class = TREE_TYPE (super_class); } if (!TYPE_SIZE (super_class)) |

