mirror of
https://github.com/gbdev/rgbds.git
synced 2026-02-10 17:43:05 +00:00
Explicitly clarify that SECTION(@) returns the name of the current section
This commit is contained in:
@@ -745,9 +745,14 @@ The result may be constant if
|
|||||||
is able to compute it.
|
is able to compute it.
|
||||||
.It Fn SECTION symbol Ta Returns the name of the section that
|
.It Fn SECTION symbol Ta Returns the name of the section that
|
||||||
.Ar symbol
|
.Ar symbol
|
||||||
is in.
|
is defined in.
|
||||||
.Ar symbol
|
.Ar symbol
|
||||||
must have been defined already.
|
must have been defined already.
|
||||||
|
If
|
||||||
|
.Ar arg
|
||||||
|
is the symbol
|
||||||
|
.Ic @ ,
|
||||||
|
this function returns the name of the current section.
|
||||||
.It Fn SIZEOF arg Ta If
|
.It Fn SIZEOF arg Ta If
|
||||||
.Ar arg
|
.Ar arg
|
||||||
is a string, this function returns the size of the section named
|
is a string, this function returns the size of the section named
|
||||||
|
|||||||
Reference in New Issue
Block a user