mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 12:32:07 +00:00
Fix failing assertion with backslash at EOF in macro arguments (#1634)
`Expansion::advance()` can increase its offset beyond the size, so I don't think this assumption was valid in the first place; `BufferedContent::advance()` should be able to as well.
This commit is contained in:
@@ -41,6 +41,9 @@ for {s}, 3, 30, 3
|
||||
print "{d:x} "
|
||||
endr
|
||||
println "-> {d:x}"
|
||||
for s, 10
|
||||
println "{d:s}"
|
||||
endr
|
||||
|
||||
for v, 10
|
||||
println "{d:v}"
|
||||
|
||||
Reference in New Issue
Block a user