Skip to content

Commit f6fb396

Browse files
authored
Clarify that options and attributes are unordered (#751)
* Clarify that options and attributes are unordered * Apply suggestions from code review
1 parent 2fe2111 commit f6fb396

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

spec/formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ the following steps are taken:
319319
320320
#### Option Resolution
321321
322-
The result of resolving _option_ values is a mapping of string identifiers to values.
322+
The result of resolving _option_ values is an unordered mapping of string identifiers to values.
323323
324324
For each _option_:
325325

spec/syntax.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ and from each other by whitespace.
571571
Each _option_'s _identifier_ MUST be unique within the _annotation_:
572572
an _annotation_ with duplicate _option_ _identifiers_ is not valid.
573573
574+
The order of _options_ is not significant.
575+
574576
```abnf
575577
option = identifier [s] "=" [s] (literal / variable)
576578
```
@@ -772,6 +774,9 @@ The _value_ of an _attribute_ can be either a _literal_ or a _variable_.
772774
Multiple _attributes_ are permitted in an _expression_ or _markup_.
773775
Each _attribute_ is separated by whitespace.
774776
777+
The order of _attributes_ is not significant.
778+
779+
775780
```abnf
776781
attribute = "@" identifier [[s] "=" [s] (literal / variable)]
777782
```

0 commit comments

Comments
 (0)