From 660812833c983e97c4420b9b7395b5ccab006a79 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 18 Aug 2000 09:21:04 +0000 Subject: [PATCH] * decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE. From-SVN: r35775 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl2.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0a2fb19c356..4e71a93ae72 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-08-18 Nathan Sidwell + + * decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE. + 2000-08-18 Nathan Sidwell * cp-tree.h (enum_name_string): Remove prototype. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 7bdd34c0008..677d3bebcc2 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -4975,6 +4975,8 @@ arg_assoc_type (k, type) case TEMPLATE_TYPE_PARM: case TEMPLATE_TEMPLATE_PARM: return 0; + case TYPENAME_TYPE: + return 0; case LANG_TYPE: if (type == unknown_type_node) return 0; -- 2.30.2