diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-08-18 09:21:04 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-08-18 09:21:04 +0000 |
commit | 660812833c983e97c4420b9b7395b5ccab006a79 (patch) | |
tree | 493a6872405e683f6762afb9b66ceba18f0707d0 /gcc | |
parent | fa40aa121c3dd227bff080afa7a2f6e24b6c0c80 (diff) | |
download | gcc-660812833c983e97c4420b9b7395b5ccab006a79.zip gcc-660812833c983e97c4420b9b7395b5ccab006a79.tar.gz gcc-660812833c983e97c4420b9b7395b5ccab006a79.tar.bz2 |
* decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE.
From-SVN: r35775
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 2 |
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; |