Re: [cc65] parser bug?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2013-01-18 18:49:03
On Fri, Jan 18, 2013 at 05:34:54PM +0000, Tilmann wrote:
> So, mixing declaration and _initialisation_ is valid, while as seen above
> mixing declaration and _assignment_ is not. Again what learnt. (:
> ---snip---
> void main() {
>     unsigned char *a = (unsigned char *) 1024, c;
>     c = 0;
> }
> ---snip---

That's a C thing and has nothing to do with cc65. C89 did already allow these
sorts of things, so cc65 does it, too.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 18 18:49:14 2013

This archive was generated by hypermail 2.1.8 : 2013-01-18 18:49:17 CET