Skip to content

Commit

Permalink
[minor] Add a "%s" format string placeholder
Browse files Browse the repository at this point in the history
Add a new argument placeholder in format strings, "%s".  This allows for
substitution of string types into format strings.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
seldridge committed Sep 20, 2022
1 parent 26db283 commit 85a228b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1615,6 +1615,8 @@ Format strings support the following argument placeholders:

- `%d` : Prints the argument in decimal

- `%s` : Prints the argument as a string

- `%x` : Prints the argument in hexadecimal

- `%%` : Prints a single `%` character
Expand Down

0 comments on commit 85a228b

Please sign in to comment.