[cc65] bug with macro substitution

From: Groepaz <groepaz1gmx.net>
Date: 2009-01-24 13:16:16
there is a bug in the preprocessor (i think) ... the following works 
(compiles) correctly:

unsigned long fs,fd,a;

unsigned long _func(unsigned long x,unsigned long y)
	return 0;

int main(void)

now if i wrap _func into a macro like this:

#define func(x,y)	_func(x,y)

int main(void)

i get "Error: `)' expected" on that line. (this is with the snapshot, freshly 
compiled 5 minutes ago)

a fix would be very appreciated, its a showstopper for me at the moment :(


http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Das einzige was im Internet fehlt, ist die Moeglichkeit irgendwem so richtig 
aufs Maul zu hauen 

To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jan 24 13:15:24 2009

This archive was generated by hypermail 2.1.8 : 2009-01-24 13:15:26 CET