revert
From-SVN: r20522
This commit is contained in:
parent
1c2c08a553
commit
56c5997c8e
@ -1,7 +1,5 @@
|
||||
1998-06-16 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* method.c (hack_identifier): Don't let a class template out.
|
||||
|
||||
* call.c (check_dtor_name): Split out.
|
||||
(build_scoped_method_call): Use it.
|
||||
(build_method_call): Use it.
|
||||
|
@ -1847,11 +1847,6 @@ hack_identifier (value, name)
|
||||
else if (TREE_CODE (value) == NAMESPACE_DECL)
|
||||
/* A namespace is not really expected here; this is likely illegal code. */
|
||||
return value;
|
||||
else if (DECL_CLASS_TEMPLATE_P (value))
|
||||
{
|
||||
cp_error ("use of class template `%T' as expression", value);
|
||||
value = error_mark_node;
|
||||
}
|
||||
else
|
||||
mark_used (value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user