mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24:27 +02:00
units-format-spec description changed in DESIGN
This commit is contained in:
@@ -526,20 +526,20 @@ formatters interpret the format specification as a `units-format-spec` according
|
|||||||
following syntax:
|
following syntax:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
// units-format-spec:
|
units-format-spec:
|
||||||
// fill-and-align[opt] sign[opt] width[opt] precision[opt] units-specs[opt]
|
fill-and-align[opt] sign[opt] width[opt] precision[opt] units-specs[opt]
|
||||||
// units-specs:
|
units-specs:
|
||||||
// conversion-spec
|
conversion-spec
|
||||||
// units-specs conversion-spec
|
units-specs conversion-spec
|
||||||
// units-specs literal-char
|
units-specs literal-char
|
||||||
// literal-char:
|
literal-char:
|
||||||
// any character other than { or }
|
any character other than { or }
|
||||||
// conversion-spec:
|
conversion-spec:
|
||||||
// % modifier[opt] type
|
% modifier[opt] type
|
||||||
// modifier: one of
|
modifier: one of
|
||||||
// E O
|
E O
|
||||||
// type: one of
|
type: one of
|
||||||
// n q Q t %
|
n q Q t %
|
||||||
```
|
```
|
||||||
|
|
||||||
The productions `fill-and-align`, `sign`, `width`, and `precision` are described in
|
The productions `fill-and-align`, `sign`, `width`, and `precision` are described in
|
||||||
|
Reference in New Issue
Block a user