]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
class.c (finish_class): We're now outside a valid method declaration.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Sat, 11 Sep 1999 22:22:57 +0000 (22:22 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Sat, 11 Sep 1999 22:22:57 +0000 (15:22 -0700)
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

gcc/java/ChangeLog
gcc/java/class.c

index e9b6b89d080d517324b61d16fa49a5fb64441032..e54394f1b9380e0daccff777f5aff5b861429998 100644 (file)
@@ -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
index 2b945e0ca2bc0196cf7728c576a3e87cd4bdd3e3..df318a010044054cef52309c1c04cb82848f63cb 100644 (file)
@@ -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);