mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 15:27:48 +00:00
Implement STRFMT and more printf-like format specifiers for string interpolation (#646)
Fixes #570 Fixes #178 Use errors for inapplicable format spec flags instead of -Wstring-format
This commit is contained in:
10
test/asm/strfmt.out
Normal file
10
test/asm/strfmt.out
Normal file
@@ -0,0 +1,10 @@
|
||||
Hello world! I am 15 years old today!
|
||||
signed -000000042 == unsigned 4294967254
|
||||
db $70 % 26 ; $08
|
||||
roses are red
|
||||
violets are blue
|
||||
void are 0
|
||||
3.141586304 ~ three
|
||||
1 eol %
|
||||
invalid % spec
|
||||
one=1 two=% three=%
|
||||
Reference in New Issue
Block a user