From fcf6eeb628b0df816f962c5185641325de7d5f6e Mon Sep 17 00:00:00 2001 From: Alexandre Petit-Bianco Date: Sat, 11 Sep 1999 22:22:57 +0000 Subject: [PATCH] class.c (finish_class): We're now outside a valid method declaration. Thu Sep 9 17:33:28 1999 Alexandre Petit-Bianco * class.c (finish_class): We're now outside a valid method declaration. Tell the rest of gcc so. From-SVN: r29347 --- gcc/java/ChangeLog | 5 +++++ gcc/java/class.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index e9b6b89d080..e54394f1b93 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 9 17:33:28 1999 Alexandre Petit-Bianco + + * class.c (finish_class): We're now outside a valid method + declaration. Tell the rest of gcc so. + 1999-09-07 Tom Tromey * 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 2b945e0ca2b..df318a01004 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); -- 2.30.2