I've commited a change which allows local labels to be used in parrot.
The labels are local relative to the last non-local label defined (i.e.
local labels are forgotten when a non-local is defined).

Here's my test program:
main:   print           "test 1\n"
        branch          $ok
$ng:    print           "ng 1\n"
        branch          test2
$ok:    print           "ok 1\n"

test2:  print           "test 2\n"
        branch          $ok
$ng:    print           "ng 2\n"
        branch          done
$ok:    print           "ok 2\n"

done:   end


It should make automatic code generation easier for jako.  If a listing
is produced, local labels are _not_ shown.

Brian

Reply via email to