aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>1999-09-11 22:22:57 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>1999-09-11 15:22:57 -0700
commitfcf6eeb628b0df816f962c5185641325de7d5f6e (patch)
tree1207a1256effdf7c5306676bf7ae5e4289ea8266 /gcc/java/class.c
parent697f6b2ff5a596ab8a6a0f4ff0b4ebfb2a4010e7 (diff)
downloadgcc-fcf6eeb628b0df816f962c5185641325de7d5f6e.zip
gcc-fcf6eeb628b0df816f962c5185641325de7d5f6e.tar.gz
gcc-fcf6eeb628b0df816f962c5185641325de7d5f6e.tar.bz2
class.c (finish_class): We're now outside a valid method declaration.
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. From-SVN: r29347
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c1
1 files changed, 1 insertions, 0 deletions
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);