mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Require underscores to actually be digit separators (#1812)
Multiple, trailing, or next to decimal point are errors
This commit is contained in:
@@ -9,11 +9,11 @@ ENDM
|
||||
printargs A, B, C, D
|
||||
|
||||
MACRO mac
|
||||
println \<2__> + \<1_2> + \<\1>
|
||||
println \<2> + \<1_2> + \<\1>
|
||||
def x = 2
|
||||
println \<{d:x}> + \<1_{d:x}> + \<\<\<13>>>
|
||||
def y equs "NARG"
|
||||
println \<x> + \<1_{d:x}_> + \<\<\<_{y}>>>
|
||||
println \<x> + \<1_{d:x}> + \<\<\<_{y}>>>
|
||||
ENDM
|
||||
|
||||
mac 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 1
|
||||
|
||||
Reference in New Issue
Block a user