Commit a9936d39 by Mark Mitchell Committed by Mark Mitchell

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
parent fae4153b
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.
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment