mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Newlines in multi-line strings update the line number
This affects error and warning messages, and dbgPrint
This commit is contained in:
@@ -30,3 +30,5 @@ EMPTY3 EQUS """"""
|
||||
EMPTY4 EQUS """\ ; comment
|
||||
"""
|
||||
PRINTLN STRCAT("(", "{EMPTY1}", "{EMPTY2}", "{EMPTY3}", "{EMPTY4}", ")")
|
||||
|
||||
warn "check the line number"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
warning: multi-line-strings.asm(34): [-Wuser]
|
||||
check the line number
|
||||
|
||||
Reference in New Issue
Block a user