This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C attribute parsing patch
- To: Mumit Khan <khan at xraylith dot wisc dot edu>
- Subject: Re: C attribute parsing patch
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Mon, 26 Apr 1999 23:31:34 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SUN.3.93.990411183741.17312C-101000@modi.xraylith.wisc.edu>y
ou write:
> This message is in MIME format. The first part should be readable text,
> while the remaining parts are likely unreadable without MIME-aware tools.
> Send mail to mime@docserver.cac.washington.edu for more info.
>
> --1915750185-364453100-923874086=:17312
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
> Initially submitted as part of the Interix batch on 1/27/99, but the patch
> wasn't correct (was to gcc/c-parse.y instead of to gcc/c-parse.in).
>
> This is a general fix for parsing the following declaration:
>
> extern int __attribute__((__cdecl_))
> atexit(void (__attribute__((__cdecl_)) *)(void));
>
> Diff against egcs-19990410 CVS. Essential for bootstrapping on Interix.
> Bootstrap sanity checked on i686-pc-linux-gnu and hppa1.1-hp-hpux10.20.
>
> Sun Apr 11 14:39:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
> Donn Terry <donn@interix.com>
>
> * c-parse.in (absdcl1): Allow attributes in explicit typespecs.
> (%expect): Update.
> * c-parse.y: Regenerate.
> * c-parse.c: Likewise.
> * objc/objc-parse.c: Likewise.
> * objc/objc-parse.y: Likewise.
Thanks. Installed.
jeff