compiler.codegen.*: help for resolve-label misplaced -- move it
parent
5152c49eb3
commit
81a84266d3
|
@ -1,6 +1,10 @@
|
||||||
USING: help.markup help.syntax strings ;
|
USING: compiler.codegen.relocation help.markup help.syntax strings ;
|
||||||
IN: compiler.codegen.labels
|
IN: compiler.codegen.labels
|
||||||
|
|
||||||
HELP: define-label
|
HELP: define-label
|
||||||
{ $values { "name" string } }
|
{ $values { "name" string } }
|
||||||
{ $description "Defines a new label with the given name. The " { $slot "offset" } " slot is filled in later." } ;
|
{ $description "Defines a new label with the given name. The " { $slot "offset" } " slot is filled in later." } ;
|
||||||
|
|
||||||
|
HELP: resolve-label
|
||||||
|
{ $values { "label/name" { $link label } " or " { $link string } } }
|
||||||
|
{ $description "Assigns the current " { $link compiled-offset } " to the given label." } ;
|
||||||
|
|
|
@ -40,7 +40,3 @@ HELP: compiled-offset
|
||||||
"t\nt"
|
"t\nt"
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
HELP: resolve-label
|
|
||||||
{ $values { "label/name" { $link label } " or " { $link string } } }
|
|
||||||
{ $description "Assigns the current " { $link compiled-offset } " to the given label." } ;
|
|
||||||
|
|
Loading…
Reference in New Issue