Re: [cc65] Macro scoping problem...

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-07-10 12:29:23
Hi!

On Sat, Jul 10, 2010 at 09:56:23AM +0200, Christian Krüger wrote:
> The following will not assemble:
[...]

See here:

        http://www.cc65.org/doc/ca65-10.html#ss10.18

The .string() function expects an identifier or a constant numeric value as
its argument. Test::Label consists of two identifiers and a scoping operator.

But fortunately it is very easy to fix the issue: Just leave off the whole
conversion and use the argument as is:

        .macro DoJmp label
                jmp label
        .endmacro

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 Sat Jul 10 12:29:28 2010

This archive was generated by hypermail 2.1.8 : 2010-07-10 12:29:31 CEST