On 2013-03-17, at 22:44, Ullrich von Bassewitz wrote: >> But when I invoke the same macro without parentheses, it seem to compile >> fine. What is the problem with parentheses here? Or is it the combination >> with .enum? causing troubles? > > .macro doesn't use parenthesis for parameters. So what happens is that > "(LOADING_DRIVERS" is passed as first and "msg_status_loading_drivers)" as > second argument. After replacement, you get stuff like > > ldx #(LOADING_DRIVERS > > which leads to the "`)' expected" error message. I see. Thank you for explaining! > Just leave of the parens and you're fine. Funny enough I always used them so far. I only started digging the docs when I encountered this behaviour. -- SD!---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Mar 17 22:56:09 2013
This archive was generated by hypermail 2.1.8 : 2013-03-17 22:56:13 CET