method.c (hack_identifier): Complain about getting a namespace or class template.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 17 Jun 1998 02:07:29 +0000 (02:07 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 17 Jun 1998 02:07:29 +0000 (22:07 -0400)
commit0e607f3473b59fcfecf82160cc1d36e60210357b
treed6096e08bd664a7d28f74c34a35e6c0a5f7915f4
parente4d4bdf2a9f5d0907086a2d7e69016ae854b9a76
method.c (hack_identifier): Complain about getting a namespace or class template.

* method.c (hack_identifier): Complain about getting a namespace
or class template.
* typeck.c (decay_conversion): Remove check for namespaces.
* typeck2.c (incomplete_type_error): Likewise.
* parse.y (template_arg): Add PTYPENAME expansion.

From-SVN: r20532
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/typeck.c
gcc/cp/typeck2.c