mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 05:47:48 +00:00
Deprecate __FILE__ and __LINE__ (#1072)
Unlike C, these constants are not convenient for logging in macros, since they always report the same data (their location in the macro). Fixes #1068
This commit is contained in:
@@ -39,5 +39,6 @@ PRINTLN \1
|
||||
endm
|
||||
|
||||
; Representative numeric and string builtins
|
||||
tickle __LINE__, 1
|
||||
tickle __FILE__, 0
|
||||
; (SOURCE_DATE_EPOCH in test.sh makes this reproducible)
|
||||
tickle __UTC_YEAR__, 1
|
||||
tickle __ISO_8601_UTC__, 0
|
||||
|
||||
Reference in New Issue
Block a user