* lang.c (put_decl_node): Print method's name.
authorPer Bothner <per@bothner.com>
Sun, 21 Jan 2001 20:42:13 +0000 (12:42 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sun, 21 Jan 2001 20:42:13 +0000 (12:42 -0800)
From-SVN: r39172

gcc/java/ChangeLog
gcc/java/lang.c

index b32238daf63802c89b679ecab53c4ff6d42c73f0..27d6864fec7479f3c5c92e74fdc840c592365da7 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-21  Per Bothner  <per@bothner.com>
+
+       * lang.c (put_decl_node):  Print method's name.
+
 2001-01-21  Per Bothner  <per@bothner.com>
 
        * verify.c (VERIFICATION_ERROR_WITH_INDEX):  New macro.
index 312623b3f473d3f085b20aa9e71a0b737015dba7..e69151a2a3c11b359a6f27485f96987c5388af66 100644 (file)
@@ -500,8 +500,11 @@ put_decl_node (node)
       if (TREE_CODE (node) == FUNCTION_DECL
          && ! DECL_CONSTRUCTOR_P (node)
          && ! DECL_ARTIFICIAL (node) && DECL_CONTEXT (node))
-       put_decl_node (TYPE_NAME (DECL_CONTEXT (node)));
-      else if (! DECL_CONSTRUCTOR_P (node))
+       {
+         put_decl_node (TYPE_NAME (DECL_CONTEXT (node)));
+         put_decl_string (".", 1);
+       }
+      if (! DECL_CONSTRUCTOR_P (node))
        put_decl_node (DECL_NAME (node));
       if (TREE_CODE (node) == FUNCTION_DECL && TREE_TYPE (node) != NULL_TREE)
        {