[cc65] Macro scoping problem...

From: Christian Krüger <C.Krueger.B1web.de>
Date: 2010-07-10 09:56:23
The following will not assemble:


.macro DoJmp label
jmp .ident(.string(label))
.endmacro

GlobalLabel: nop

.proc Test
Label: nop
.endproc

jmp    GlobalLabel    ; OK!
jmp    Test::Label    ; OK!
DoJmp  GlobalLabel    ; OK!
DoJmp  Test::Label    ; Error: ')' expected


Do I have to escape the scope designator somehow?

Thanks
Christian

----------------------------------------------------------------------
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 09:56:31 2010

This archive was generated by hypermail 2.1.8 : 2010-07-10 09:56:34 CEST