Closed nurpax closed 6 years ago
Local labels can be specified with a .dot prefix. Every new normal label defines a new local scope:
foo: lda #0 .bar: bar: ldx #1 .baz:
These get resolved to foo, foo.bar, bar, bar.baz.
foo
foo.bar
bar
bar.baz
The .prefix syntax is especially helpful when used in macro declarations.
These work in macros now. Need to extend existing "new label" code to add the prefix when not inside macros.
Local labels can be specified with a .dot prefix. Every new normal label defines a new local scope:
These get resolved to
foo
,foo.bar
,bar
,bar.baz
.The .prefix syntax is especially helpful when used in macro declarations.