Improve string/interpolation formatting (#1491)

- The '#' component for type 's' now escapes the string characters
- The '#' component for type 'f' now prints a precision suffix
- The new 'q' component specifies a precision value
This commit is contained in:
Sylvie
2024-09-01 12:54:26 -04:00
committed by GitHub
parent 2fb76ce584
commit 6b8d33529e
13 changed files with 128 additions and 48 deletions

View File

@@ -1,3 +1,5 @@
error: fixed-point-precision.asm(21):
error: fixed-point-precision.asm(22):
Fixed-point constant precision must be between 1 and 31
error: Assembly aborted (1 error)!
error: fixed-point-precision.asm(23):
Fixed-point constant precision 0 invalid, defaulting to 16
error: Assembly aborted (2 errors)!