On Sep 13, 2007, at 9:00 PM, Allison Randal wrote:

Joshua Isom wrote:
And while we're add it, can we add the magic to do the same thing we to do labels to variables as well?

What thing?

Allison


It's the little magic that turns this:

.macro foo(bar)
        .local $baz:
        print "hello\n"
        dec .bar
        if .bar goto $baz
.endm

.foo(I0)
.foo(I0)

into this:

local__foo__3__$:
        print "hello\n"
        dec I0
        if IO goto local__foo__3__$
local__foo__4__$:
        print "hello\n"
        dec I0
        if IO goto local__foo__4__$

It basically an easy way to get a unique identifier. A wishlist idea would be cpp's #foo stuff.

Reply via email to