mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 21:12:07 +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:
@@ -1,3 +1,3 @@
|
||||
warn "main {__FILE__}"
|
||||
warn "main file"
|
||||
def v3 = v1 + v2
|
||||
println "{d:v1} + {d:v2} = {d:v3}"
|
||||
|
||||
Reference in New Issue
Block a user