mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 10:12:21 +03:00
[ABNF] add parens in group-coordinate for readability; fix indentation of format-string-element to make consistent with other indentation
This commit is contained in:
parent
5c1efa81f7
commit
227b887a71
@ -490,7 +490,7 @@ Go to: _[scalar-type](#user-content-scalar-type)_;
|
||||
|
||||
<a name="group-coordinate"></a>
|
||||
```abnf
|
||||
group-coordinate = [ "-" ] numeral / "+" / "-" / "_"
|
||||
group-coordinate = ( [ "-" ] numeral ) / "+" / "-" / "_"
|
||||
```
|
||||
|
||||
Go to: _[numeral](#user-content-numeral)_;
|
||||
@ -852,9 +852,9 @@ format-string-close-brace = "}}"
|
||||
<a name="format-string-element"></a>
|
||||
```abnf
|
||||
format-string-element = not-brace
|
||||
/ format-string-container
|
||||
/ format-string-open-brace
|
||||
/ format-string-close-brace
|
||||
/ format-string-container
|
||||
/ format-string-open-brace
|
||||
/ format-string-close-brace
|
||||
```
|
||||
|
||||
Go to: _[format-string-close-brace](#user-content-format-string-close-brace), [format-string-container](#user-content-format-string-container), [format-string-open-brace](#user-content-format-string-open-brace), [not-brace](#user-content-not-brace)_;
|
||||
|
@ -211,7 +211,7 @@ scalar-type = boolean-type / arithmetic-type / address-type / character-type
|
||||
|
||||
type = scalar-type
|
||||
|
||||
group-coordinate = [ "-" ] numeral / "+" / "-" / "_"
|
||||
group-coordinate = ( [ "-" ] numeral ) / "+" / "-" / "_"
|
||||
|
||||
affine-group-literal = "(" group-coordinate "," group-coordinate %s")group"
|
||||
|
||||
@ -337,8 +337,8 @@ format-string-open-brace = "{{"
|
||||
format-string-close-brace = "}}"
|
||||
|
||||
format-string-element = not-brace
|
||||
/ format-string-container
|
||||
/ format-string-open-brace
|
||||
/ format-string-close-brace
|
||||
/ format-string-container
|
||||
/ format-string-open-brace
|
||||
/ format-string-close-brace
|
||||
|
||||
format-string = *format-string-element
|
||||
|
Loading…
Reference in New Issue
Block a user