mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 13:02:07 +00:00
Support -P/--preinclude to pre-INCLUDE a file (#1043)
Fixes #1041 Co-authored-by: ISSOtm <eldredhabert0@gmail.com>
This commit is contained in:
11
test/asm/preinclude.inc
Normal file
11
test/asm/preinclude.inc
Normal file
@@ -0,0 +1,11 @@
|
||||
warn "pre-include {__FILE__}"
|
||||
|
||||
def v1 = 12
|
||||
rept 3
|
||||
println "rept 3"
|
||||
endr
|
||||
|
||||
def v2 = 34
|
||||
for i, 3
|
||||
println "for {d:i}/3"
|
||||
endr
|
||||
Reference in New Issue
Block a user