From a09f2d4115cd65b4bbe242421bccabf2f8dba25e Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 23 Feb 2021 14:48:27 -0500 Subject: [PATCH] Test an indented macro label --- test/asm/label-indent.asm | 27 ++++----------------------- test/asm/label-indent.out | 1 + 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/test/asm/label-indent.asm b/test/asm/label-indent.asm index 2369196e..3ab4fe7e 100644 --- a/test/asm/label-indent.asm +++ b/test/asm/label-indent.asm @@ -5,26 +5,7 @@ SECTION "Label testing", WRAMX .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 : diff --git a/test/asm/label-indent.out b/test/asm/label-indent.out index e69de29b..a74014d4 100644 --- a/test/asm/label-indent.out +++ b/test/asm/label-indent.out @@ -0,0 +1 @@ +: