Skip to content

Commit 49c508f

Browse files
authored
Merge pull request #616 from rbakbashev/fix_repr_attr
fix order, and delimiting and trailing comma for `repr` attribute
2 parents 5842e28 + 39434f4 commit 49c508f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/attributes.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,10 +1509,14 @@ Attribute ``repr``
15091509
.. syntax::
15101510

15111511
ReprContent ::=
1512-
$$repr$$ $$($$ Representation $$)$$
1512+
$$repr$$ $$($$ RepresentationList $$)$$
1513+
1514+
RepresentationList ::=
1515+
Representation ($$,$$ Representation)* $$,$$?
15131516

15141517
Representation ::=
1515-
RepresentationKind Alignment?
1518+
RepresentationKind
1519+
| Alignment
15161520
15171521
RepresentationKind ::=
15181522
PrimitiveRepresentation

0 commit comments

Comments
 (0)