Bug in enum

Bug reports (if you don't/won't have a Github account)
Post Reply
joaopa
Member
Posts: 46
Joined: Sat Mar 15, 2014 5:42 pm

Bug in enum

Post by joaopa »

With GCC, this syntax is correct: enum {v1,v2,};
With Z88dk, one has an error. One must remove the last comma: enum{v1,v2};

Can you fix this bug?

Thanks in advance
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

Post by alvin »

joaopa wrote:With GCC, this syntax is correct: enum {v1,v2,};
With Z88dk, one has an error. One must remove the last comma: enum{v1,v2};
This one has been fixed. You can wait for the next nightly build and replace "z88dk/bin/sccz80.exe" or if you use windows you can download a new sccz80.exe here:

https://drive.google.com/file/d/0B6XhJJ ... sp=sharing
Post Reply