mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12:07 +00:00
The old error stack was fairly obtuse and hard to use for debugging. This improves it notably by ensuring all line numbers are relative to the file, and not, say, the macro definition. This is a breaking change if you were parsing the old stack, but the change should be painless, and the new stack only brings more info. The syntax is unchanged for files, macros see their name prefixed with the file they're defined in and a pair of colors, REPT blocks simply append a '::REPT~n' to the context they're in, where 'n' is the number of iterations the REPT has done. This is especially helpful in macro-heavy code such as rgbds-structs.
32 lines
754 B
Plaintext
32 lines
754 B
Plaintext
warning: strsub.asm(13) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Length too big: 32
|
|
warning: strsub.asm(14) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Length too big: 300
|
|
warning: strsub.asm(15) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Position starts at 1
|
|
warning: strsub.asm(15) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Length too big: 300
|
|
warning: strsub.asm(16) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Position 4 is past the end of the string
|
|
warning: strsub.asm(17) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Position 4 is past the end of the string
|
|
warning: strsub.asm(17) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Length too big: 1
|
|
warning: strsub.asm(20) -> strsub.asm::xstrsub(4):
|
|
STRSUB: Length too big: 10
|
|
A
|
|
B
|
|
C
|
|
AB
|
|
BC
|
|
BC
|
|
BC
|
|
ABC
|
|
|
|
|
|
カタ
|
|
カナ
|
|
カナ
|
|
g
|
|
g̈
|