This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ parser vs. attributes


On Fri, Jul 20, 2001 at 05:59:35PM -0700, Mark Mitchell wrote:
> The old parser accepts:
> 
>   struct S { S(int); };
>   S s (3) __attribute__ (...);
> 
> As far as I can tell, this is accident.  It thinks `s(3)' is a
> declarator (!)

That would seem reason enough to get rid of it.


Phil

-- 
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
                                     - anonymous Egyptian scribe, c.1700 BC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]