mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
E
and O
format specifiers removed and A
added
This commit is contained in:
@@ -33,6 +33,7 @@ Formatting the output
|
|||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Grammar:
|
Grammar:
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
units-format-spec: fill-and-align[opt] sign[opt] width[opt] precision[opt] units-specs[opt]
|
units-format-spec: fill-and-align[opt] sign[opt] width[opt] precision[opt] units-specs[opt]
|
||||||
@@ -41,5 +42,5 @@ Grammar:
|
|||||||
: units-specs literal-char
|
: units-specs literal-char
|
||||||
literal-char: any character other than '{' or '}'
|
literal-char: any character other than '{' or '}'
|
||||||
conversion-spec: '%' modifier[opt] type
|
conversion-spec: '%' modifier[opt] type
|
||||||
modifier: one of 'E', 'O'
|
modifier: 'A'
|
||||||
type: one of 'n', 'q', 'Q', 't', '%'
|
type: one of 'n', 'q', 'Q', 't', '%'
|
||||||
|
@@ -41,8 +41,8 @@ namespace units {
|
|||||||
// any character other than { or }
|
// any character other than { or }
|
||||||
// conversion-spec:
|
// conversion-spec:
|
||||||
// % modifier[opt] type
|
// % modifier[opt] type
|
||||||
// modifier: one of
|
// modifier:
|
||||||
// E O
|
// A
|
||||||
// type: one of
|
// type: one of
|
||||||
// n q Q t %
|
// n q Q t %
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user