mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 22:07:49 +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:
@@ -4,7 +4,9 @@ error: for.asm(16):
|
||||
FOR cannot have a step value of 0
|
||||
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):
|
||||
error: for.asm(46):
|
||||
's' already defined as constant at for.asm(39)
|
||||
error: for.asm(48) -> for.asm::REPT~4(54):
|
||||
'v' already defined as constant at for.asm(48) -> for.asm::REPT~4(52)
|
||||
FATAL: for.asm(48) -> for.asm::REPT~4(54):
|
||||
Failed to update FOR symbol value
|
||||
|
||||
Reference in New Issue
Block a user