mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 15:27:48 +00:00
Implement new string functions (#1655)
`STRFIND`, `STRRFIND`, `STRCHAR`, `STRSLICE`, `CHARCMP`, `CHARSIZE`, and `REVCHAR`
This commit is contained in:
40
test/asm/strslice-strsub.err
Normal file
40
test/asm/strslice-strsub.err
Normal file
@@ -0,0 +1,40 @@
|
||||
warning: strslice-strsub.asm(14) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Start index 4 is past the end of the string
|
||||
warning: strslice-strsub.asm(15) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Index starts at 0
|
||||
warning: strslice-strsub.asm(18) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Stop index 31 is past the end of the string
|
||||
warning: strslice-strsub.asm(19) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Stop index 300 is past the end of the string
|
||||
warning: strslice-strsub.asm(20) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Index starts at 0
|
||||
warning: strslice-strsub.asm(20) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Stop index 300 is past the end of the string
|
||||
warning: strslice-strsub.asm(22) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Start index 4 is past the end of the string
|
||||
warning: strslice-strsub.asm(22) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Stop index 4 is past the end of the string
|
||||
warning: strslice-strsub.asm(23) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Stop index 4 is past the end of the string
|
||||
warning: strslice-strsub.asm(26) -> strslice-strsub.asm::xstrslice(2): [-Wbuiltin-args]
|
||||
STRSLICE: Stop index 12 is past the end of the string
|
||||
warning: strslice-strsub.asm(41) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Position starts at 1
|
||||
warning: strslice-strsub.asm(43) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Position 5 is past the end of the string
|
||||
warning: strslice-strsub.asm(44) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Position starts at 1
|
||||
warning: strslice-strsub.asm(47) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Length too big: 32
|
||||
warning: strslice-strsub.asm(48) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Length too big: 300
|
||||
warning: strslice-strsub.asm(49) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Position starts at 1
|
||||
warning: strslice-strsub.asm(49) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Length too big: 300
|
||||
warning: strslice-strsub.asm(51) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Position 5 is past the end of the string
|
||||
warning: strslice-strsub.asm(52) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Length too big: 1
|
||||
warning: strslice-strsub.asm(55) -> strslice-strsub.asm::xstrsub(31): [-Wbuiltin-args]
|
||||
STRSUB: Length too big: 10
|
||||
Reference in New Issue
Block a user