diff options
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/class.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index e9b6b89..e54394f 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 9 17:33:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> + + * class.c (finish_class): We're now outside a valid method + declaration. Tell the rest of gcc so. + 1999-09-07 Tom Tromey <tromey@cygnus.com> * gjavah.c (add_class_decl): Generate include for gcj/array.h, not diff --git a/gcc/java/class.c b/gcc/java/class.c index 2b945e0..df318a0 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1225,6 +1225,7 @@ finish_class () method = TREE_CHAIN (method); } + current_function_decl = NULL_TREE; make_class_data (current_class); register_class (); rest_of_decl_compilation (TYPE_NAME (current_class), (char*) 0, 1, 0); |