summaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authortglek <tglek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-02 17:50:41 +0000
committertglek <tglek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-02 17:50:41 +0000
commit0baee55df687806e7cfa915d058855f66d534712 (patch)
treea11c6cff52f26f5517593dcdffea6c105d775c72 /gcc/cp/parser.c
parent7b887394fc3b5a750271a988d6492d9527abee89 (diff)
downloadgcc-0baee55df687806e7cfa915d058855f66d534712.tar.gz
* parser.c (cp_parser_class_specifier): Back out my previous change.
* semantics.c (begin_class_definition): Back out my previous change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index b74f4f23c67..f65dda48cc7 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -16376,8 +16376,6 @@ cp_parser_class_head (cp_parser* parser,
end_specialization ();
--parser->num_template_parameter_lists;
}
-
- DECL_SOURCE_LOCATION (TYPE_NAME (type)) = type_start_token->location;
*attributes_p = attributes;
return type;
}