mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-16 17:30:58 +08:00
* lang.c (put_decl_node): Print method's name.
From-SVN: r39172
This commit is contained in:
parent
9c0c88ac0d
commit
2c36c7fd96
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user