This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ parser vs. attributes
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: C++ parser vs. attributes
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 20 Jul 2001 23:01:54 -0400
- Cc: gcc at gcc dot gnu dot org, jason at redhat dot com
- References: <292680000.995677175@warlock.codesourcery.com>
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