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:
Rangi
2020-12-29 16:53:15 -05:00
committed by GitHub
parent aa27e714d4
commit c0ce1da4c3
16 changed files with 675 additions and 84 deletions

10
test/asm/strfmt.out Normal file
View 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=%