aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl2.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0a2fb19c..4e71a93 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,9 @@
2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
+ * decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE.
+
+2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
+
* cp-tree.h (enum_name_string): Remove prototype.
(report_case_error): Remove prototype.
* cp/typeck2.c (enum_name_string): Remove.
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 7bdd34c..677d3be 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;