diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1999-09-11 22:22:57 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-09-11 15:22:57 -0700 |
commit | fcf6eeb628b0df816f962c5185641325de7d5f6e (patch) | |
tree | 1207a1256effdf7c5306676bf7ae5e4289ea8266 /gcc/java | |
parent | 697f6b2ff5a596ab8a6a0f4ff0b4ebfb2a4010e7 (diff) | |
download | gcc-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')
-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); |