mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-15 10:17:06 +00:00
Disallow minus sign before symbol name in bracketed macro arguments (#2015)
This was being silently allowed but without actually negating the symbol's value
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
error: No digit after minus sign in bracketed macro argument
|
||||
at macro-arg-negative-symbol.asm::test(3) <- macro-arg-negative-symbol.asm(5)
|
||||
error: syntax error, unexpected end of line
|
||||
at macro-arg-negative-symbol.asm::test(3) <- macro-arg-negative-symbol.asm(5)
|
||||
Assembly aborted with 2 errors
|
||||
Reference in New Issue
Block a user