* lang.c (put_decl_node): Print method's name.

From-SVN: r39172
This commit is contained in:
Per Bothner 2001-01-21 12:42:13 -08:00 committed by Per Bothner
parent 9c0c88ac0d
commit 2c36c7fd96
2 changed files with 9 additions and 2 deletions

View 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.

View 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)
{