Implement [[ fragment literals ]] (#1614)

This feature is referred to as "code/data literals" in ASMotor,
and simply as "literals" in some older assemblers like MIDAS
for the PDP-10. RGBASM already had the "section fragments"
feature for keeping disparate contents together when linked,
so these worked naturally as "fragment literals".
This commit is contained in:
Rangi
2025-07-09 12:13:01 -04:00
committed by GitHub
parent 5e43ece578
commit 41ab5dff5a
19 changed files with 343 additions and 13 deletions

View File

@@ -7,5 +7,5 @@ error: syntax-error-after-syntax-error.asm(6):
error: syntax-error-after-syntax-error.asm(9):
syntax error, unexpected :
error: syntax-error-after-syntax-error.asm(10):
syntax error, unexpected stop, expecting end of line or end of buffer or ::
syntax error, unexpected stop, expecting end of line or end of buffer or end of fragment literal or ::
Assembly aborted with 5 errors!