shithub: rgbds

Download patch

ref: a09f2d4115cd65b4bbe242421bccabf2f8dba25e
parent: dafef5a953f2ad7c21c8662f1764057fcffc6d96
author: Rangi <[email protected]>
date: Tue Feb 23 09:48:27 EST 2021

Test an indented macro label

--- a/test/asm/label-indent.asm
+++ b/test/asm/label-indent.asm
@@ -5,26 +5,7 @@
 	.loc
 	Lab.loc2
 
-;	X = 0
-;	; Should not believe X is a label!
-;	IF X == 1
-;		FAIL "Wrong!"
-;	ENDC
-;	X \
-;	  = 1
-;	IF X != 1
-;		FAIL "Wrong!"
-;	ENDC
-;
-;	Y equ 42
-;	PRINTT "Y={Y}\n"
-;	PURGE Y
-;
-;	Y equs "mac"
-;	mac: MACRO
-;		PRINTT "\1\n"
-;	ENDM
-;	; Should invoke macro Y, and not match "equ" due to the "a" behind it
-;	Y equates 69
-;	Y equsquisite (isn't that English?)
-;	Y eq
+	mac: MACRO
+		println "\1"
+	ENDM
+	mac :
--- a/test/asm/label-indent.out
+++ b/test/asm/label-indent.out
@@ -1,0 +1,1 @@
+: