OSDN Git Service

PR c++/36625
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Apr 2010 20:17:34 +0000 (20:17 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:32:31 +0000 (14:32 +0900)
commit26efcb7afc5a64e2cd5b5f551c11e20a9cc4c1ae
treed691d49cfd16ec8c001d291ed49ac9b8064c1e29
parent85e9807247762a94f01cd6f054c6af4fd1054de9
PR c++/36625
* c-common.c (attribute_takes_identifier_p): New fn.
* c-common.h: Declare it.
cp/
* parser.c (cp_parser_parenthesized_expression_list): Change
is_attribute_list parm to int to indicate whether or not to
handle initial identifier specially.
(cp_parser_attribute_list): Use attribute_takes_identifier_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158355 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog