Test an indented macro label

This commit is contained in:
Rangi
2021-02-23 14:48:27 -05:00
parent dafef5a953
commit a09f2d4115
2 changed files with 5 additions and 23 deletions

View File

@@ -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 :

View File

@@ -0,0 +1 @@
: