parse.y (nested_name_specifier): Use explicit_template_type.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 28 Feb 1998 15:32:02 +0000 (15:32 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 28 Feb 1998 15:32:02 +0000 (10:32 -0500)
commit11686454d62adcb8daa74a5fe12acb94df50aa04
tree3623a6c2e2509593b34324ab8bcf548d92a9d6f8
parentb2b7d40a91814eacee40e1b0539426ae7b8b27dc
parse.y (nested_name_specifier): Use explicit_template_type.

* parse.y (nested_name_specifier): Use explicit_template_type.
(typename_sub): Allow a template_type, an explicit_template_type,
or an implicit template type at the end.
* lex.c (yyprint): Handle a PTYPENAME being a TEMPLATE_DECL.
* decl.c (make_typename_type): Handle template-id where the name
is a TEMPLATE_DECL.
* call.c (build_scoped_method_call): Handle member template
destructor call.
* pt.c (tsubst_copy, METHOD_CALL_EXPR): Don't assume a member
destructor is represented by the type.

From-SVN: r18303
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c