mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 20:12:07 +00:00
Avoid nonessential EQUS expansion in tests
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
def string_start equs "println \"hello"
|
||||
string_start world"
|
||||
{string_start} world"
|
||||
|
||||
def triple_string_start equs "println \"\"\"multi"
|
||||
triple_string_start;ple
|
||||
{triple_string_start};ple
|
||||
line
|
||||
strings"""
|
||||
|
||||
def cond_start equs "if 0\nprintln \"false\"\nelif"
|
||||
cond_start 1
|
||||
{cond_start} 1
|
||||
println "true"
|
||||
else
|
||||
println "nan"
|
||||
endc
|
||||
|
||||
def loop_start equs "rept 3\nprintln"
|
||||
loop_start "lol"
|
||||
{loop_start} "lol"
|
||||
endr
|
||||
|
||||
def macro_start equs "macro foo\nprintln"
|
||||
macro_start \1
|
||||
{macro_start} \1
|
||||
endm
|
||||
foo 42
|
||||
|
||||
Reference in New Issue
Block a user