shithub: rgbds

Download patch

ref: 0157ba63d3b124ee508d88ad74f7c68caac6804c
parent: 9e3d8b22cbf56209055edd1158d560b09dd35d48
author: ISSOtm <[email protected]>
date: Wed Apr 8 11:08:29 EDT 2020

Document whitespace before local labels

--- a/src/asm/rgbasm.5
+++ b/src/asm/rgbasm.5
@@ -739,6 +739,8 @@
 .Ql scope
 must be the actual current scope.
 .Pp
+Local labels may have whitespace before their declaration as the only exception to the rule.
+.Pp
 A label's location (and thus value) is usually not determined until the linking stage, so labels usually cannot be used as constants.
 However, if the section in which the label is declared has a fixed base address, its value is known at assembly time.
 .Pp