On Tue, Sep 19, 2006 at 12:36:10AM -0400, Dave Dodge wrote:
> > >But then we can go further and ask if "sizeof (char)7" is a legal C
> > >expression...
>
> No, that's always an error. For example:
>
> char type-name
> (^^^^)7 cast-expression
> sizeof ^^^^^^^ error: sizeof can't be applied to a cast-expression
Ok, bad example. But this one is valid according to the grammar:
char type-name
7 initializer-list
(^^^^){^} postfix-expression
sizeof ^^^^^^^^^ unary-expression
Daniel
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel