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 01:01:29 +0000 (10:01 +0900)
commit16f6ec2a8f343b9f9e75e321805fb20f2086ac02
treeb8a3155803e6282fc28a2db74cf39aa3d936af7a
parent6cc1f5d3a22198773bf6ed95f4106915ae85ae6c
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