Files
rgbds/test/asm/macro-arg-negative-symbol.asm
T
Rangi f82b0838a1 Disallow minus sign before symbol name in bracketed macro arguments (#2015)
This was being silently allowed but without actually negating the symbol's value
2026-07-07 00:42:09 -04:00

6 lines
107 B
NASM

MACRO test
println \<2>, " vs ", \<-2>
println \<_NARG>, " vs ", \<-_NARG>
ENDM
test "hello", "goodbye"