Commit 5d872564 by Nathan Sidwell

apparently missing part of 2003-08-15 checkin

apparently missing part of 2003-08-15 checkin
	* decl.c (make_typename_type): Use my_friendly_assert.

From-SVN: r70539
parent a4ce4cf7
......@@ -5492,9 +5492,8 @@ make_typename_type (tree context, tree name, tsubst_flags_t complain)
error ("`%D' used without template parameters", name);
return error_mark_node;
}
if (TREE_CODE (name) != IDENTIFIER_NODE)
abort ();
my_friendly_assert (TREE_CODE (name) == IDENTIFIER_NODE, 20030802);
if (TREE_CODE (context) == NAMESPACE_DECL)
{
/* We can get here from typename_sub0 in the explicit_template_type
......
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