Support runtime width specification

This commit is contained in:
jamboree committed 2015-06-04 13:59:37 +08:00
1 parent d311927c64
commit 54a6cb34c7
3 files changed
+95 -7

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ The general form of a *standard format specifier* is:
fill: <a character other than '{' or '}'>
align: "<" | ">" | "=" | "^"
sign: "+" | "-" | " "
width: `integer`
width: `integer` | "{" `arg_index` "}"
precision: `integer` | "{" `arg_index` "}"
type: `int_type` | "c" | "e" | "E" | "f" | "F" | "g" | "G" | "p" | "s"
int_type: "b" | "B" | "d" | "o" | "x" | "X"