ref: 695dfe9dbd34ddf7d5541450bce41c6e67dd0fd8
parent: 9782f7d942c74c5b0c53b56abea462237e1e0b2f
author: Rangi <[email protected]>
date: Sun Jul 4 12:12:34 EDT 2021
Add missing file line-continuation-string.asm Also make some minor formatting corrections
--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -1042,7 +1042,7 @@
}
}
-/* Discards an block comment */
+/* Discards a block comment */
static void discardBlockComment(void)
{
dbgPrint("Discarding block comment\n");
--- a/src/asm/rgbasm.5
+++ b/src/asm/rgbasm.5
@@ -1979,9 +1979,9 @@
.Sx SECTIONS
is often useful as-is, sometimes you instead want a particular piece of data (or code) in the middle of the section to be aligned.
This is made easier through the use of mid-section
-.Ic align Ar align , offset .
+.Ic ALIGN Ar align , offset .
It will alter the section's attributes to ensure that the location the
-.Ic align
+.Ic ALIGN
directive is at, has its
.Ar align
lower bits equal to
@@ -1989,9 +1989,9 @@
.Pp
If the constraint cannot be met (for example because the section is fixed at an incompatible address), and error is produced.
Note that
-.Ic align Ar align
+.Ic ALIGN Ar align
is a shorthand for
-.Ic align Ar align , No 0 .
+.Ic ALIGN Ar align , No 0 .
.Sh SEE ALSO
.Xr rgbasm 1 ,
.Xr rgblink 1 ,
--- /dev/null
+++ b/test/asm/line-continuation-string.asm
@@ -1,0 +1,3 @@
+println "Line \ ; this comment is ignored
+continuations\ ; so is this one
+ work!" ; =)