From af0505b4cd104e44c21a31ff9a2d82443d07d704 Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 6 Feb 2026 19:37:49 -0500 Subject: [PATCH] Explicitly clarify that `SECTION(@)` returns the name of the current section --- man/rgbasm.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man/rgbasm.5 b/man/rgbasm.5 index 316d420e..1365aac9 100644 --- a/man/rgbasm.5 +++ b/man/rgbasm.5 @@ -745,9 +745,14 @@ The result may be constant if is able to compute it. .It Fn SECTION symbol Ta Returns the name of the section that .Ar symbol -is in. +is defined in. .Ar symbol 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 .Ar arg is a string, this function returns the size of the section named