mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
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:
@@ -6,20 +6,24 @@ error: invalid-format.asm(3):
|
||||
STRFMT: Invalid format spec for argument 2
|
||||
error: invalid-format.asm(4):
|
||||
STRFMT: Invalid format spec for argument 2
|
||||
error: invalid-format.asm(7):
|
||||
Invalid format spec '5d5'
|
||||
error: invalid-format.asm(5):
|
||||
Fixed-point constant precision 0 invalid, defaulting to 16
|
||||
error: invalid-format.asm(5):
|
||||
STRFMT: Invalid format spec for argument 2
|
||||
error: invalid-format.asm(8):
|
||||
Invalid format spec '5d5'
|
||||
error: invalid-format.asm(9):
|
||||
Invalid format spec 'xx'
|
||||
error: invalid-format.asm(10):
|
||||
Formatting string with sign flag '+'
|
||||
error: invalid-format.asm(11):
|
||||
Formatting string with prefix flag '#'
|
||||
Formatting string with sign flag '+'
|
||||
error: invalid-format.asm(12):
|
||||
Formatting string with padding flag '0'
|
||||
error: invalid-format.asm(13):
|
||||
Formatting string with fractional width
|
||||
error: invalid-format.asm(15):
|
||||
Formatting type 'd' with prefix flag '#'
|
||||
error: invalid-format.asm(14):
|
||||
Formatting string with fractional precision
|
||||
error: invalid-format.asm(16):
|
||||
Formatting type 'd' with exact flag '#'
|
||||
error: invalid-format.asm(17):
|
||||
Formatting type 'd' with fractional width
|
||||
error: Assembly aborted (12 errors)!
|
||||
error: Assembly aborted (14 errors)!
|
||||
|
||||
Reference in New Issue
Block a user