mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
@@ -8,13 +8,17 @@ for v, 0
|
||||
endr
|
||||
|
||||
for v, 2, 1
|
||||
print "unreached"
|
||||
print "backwards"
|
||||
endr
|
||||
|
||||
for v, 1, 2, 0
|
||||
print "unreached"
|
||||
endr
|
||||
|
||||
for v, 1, 2, -1
|
||||
print "backwards"
|
||||
endr
|
||||
|
||||
for x, 1, 5+1
|
||||
print "{d:x} "
|
||||
endr
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
warning: for.asm(12): [-Wbackwards-for]
|
||||
FOR goes backwards from 2 to 1 by 1
|
||||
ERROR: for.asm(16):
|
||||
FOR cannot have a step value of 0
|
||||
ERROR: for.asm(41) -> for.asm::REPT~4(47):
|
||||
'v' already defined as constant at for.asm(41) -> for.asm::REPT~4(45)
|
||||
FATAL: for.asm(41) -> for.asm::REPT~4(47):
|
||||
warning: for.asm(20): [-Wbackwards-for]
|
||||
FOR goes backwards from 1 to 2 by -1
|
||||
ERROR: for.asm(45) -> for.asm::REPT~4(51):
|
||||
'v' already defined as constant at for.asm(45) -> for.asm::REPT~4(49)
|
||||
FATAL: for.asm(45) -> for.asm::REPT~4(51):
|
||||
Failed to update FOR symbol value
|
||||
|
||||
Reference in New Issue
Block a user