error.c (dump_decl): Be a bit more explicit with template type arguments, when verbose.

* error.c (dump_decl): Be a bit more explicit with template
	type arguments, when verbose.

From-SVN: r18858
This commit is contained in:
Mark Mitchell 1998-03-27 20:25:21 +00:00 committed by Mark Mitchell
parent fae4153b40
commit a9936d39ea
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 27 20:23:18 1998 Mark Mitchell <mmitchell@usa.net>
* error.c (dump_decl): Be a bit more explicit with template
type arguments, when verbose.
Fri Mar 27 18:16:40 1998 Jason Merrill <jason@yorick.cygnus.com>
* inc/exception: Reorder closing braces.

View File

@ -655,6 +655,10 @@ dump_decl (t, v)
/* Don't say 'typedef class A' */
if (DECL_ARTIFICIAL (t))
{
if (v > 0 && TREE_CODE (TREE_TYPE (t)) == TEMPLATE_TYPE_PARM)
/* Say `class T' not just `T'. */
OB_PUTS ("class ");
dump_type (TREE_TYPE (t), v);
break;
}