On Thu, Jul 13, 2006 at 05:19:57PM -0400, Ben Hinkle wrote:
> On 7/11/06, PerfectDark <[EMAIL PROTECTED]> wrote:
> >//----------------
> >typedef struct {
> >int any_member;
> >;// just placeholder -
> >// we can put semicolon in almost each place of code :)
> >} my_struct_t;
> >//----------------
>
> What section of the ISO_C99 spec says that?
In C99 the above code is a syntax error. The grammar (Annex A.2.2)
does not allow a "placeholder" semicolon in a struct-declaration-list
by itself.
-Dave Dodge
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel