summaryrefslogtreecommitdiff
path: root/gcc/cp/spew.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-27 02:27:38 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-27 02:27:38 +0000
commit1ac9b32b67030a605ccaa680a4c4ad1b6e98cf79 (patch)
tree9c59831d3f8b9c110c366e7b78742e0abaccd4c2 /gcc/cp/spew.c
parent539d6dd2010fa1e2723fb63ba66dd763e31eba55 (diff)
downloadgcc-1ac9b32b67030a605ccaa680a4c4ad1b6e98cf79.tar.gz
* pt.c (tsubst, TEMPLATE_DECL): Support member class templates.
(tsubst, *_PARM): Support multiple levels of template classes. (instantiate_class_template): Look up the pattern from the original template. (lookup_template_class): Handle getting a template for d1. (push_template_decl): Correct setting of 'primary'. (reduce_template_parm_level): Add 'levels' parm. (finish_member_template_decl): Support member class templates. (template_class_depth): Handle multiple levels. * parse.y (component_decl_1, fn.def2): Remove member template case. (component_decl): Add member template cases. * decl2.c (check_member_template): We now handle member template classes. * decl.c (pushtag): Handle member templates. * method.c (do_inline_function_hair): Don't touch IDENTIFIER_GLOBAL_VALUE. * init.c (build_offset_ref): If name isn't an identifier, just return it. * spew.c (yylex): Handle PTYPENAME like TYPENAME. * typeck.c (get_delta_difference): Do adjust for conversions to and from virtual base. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18280 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r--gcc/cp/spew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index b4799d42e68..2112e23cf27 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -313,6 +313,7 @@ yylex ()
case TYPENAME:
case SELFNAME:
case NSNAME:
+ case PTYPENAME:
lastiddecl = trrr;
if (got_scope)
tmp_token.yylval.ttype = trrr;
@@ -320,7 +321,6 @@ yylex ()
case PFUNCNAME:
case IDENTIFIER:
- case PTYPENAME:
lastiddecl = trrr;
break;