2009-05-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 May 2009 12:47:53 +0000 (12:47 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 May 2009 12:47:53 +0000 (12:47 +0000)
commitd3ca4ed0d68ac644d0c5e846d2fd129f18938d3b
tree02efb23b17d27157c296459ff616149bc405afae
parent27746e01e73b4caa0b4c6237ce6f21c8c5c1eb6c
2009-05-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/28152
cp/
* parser.c (cp_lexer_get_preprocessor_token):  Do not store the
canonical spelling for keywords.
(cp_parser_attribute_list): Use the canonical spelling for
keywords in attributes.
testsuite/
* g++.dg/parse/parser-pr28152.C: New.
* g++.dg/parse/parser-pr28152-2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147097 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/parser-pr28152-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/parser-pr28152.C [new file with mode: 0644]