File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
TSPL.docc/ReferenceManual Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ the term *declaration* covers both declarations and definitions.
34
34
> * declaration* → * macro-declaration* \
35
35
> * declaration* → * operator-declaration* \
36
36
> * declaration* → * precedence-group-declaration* \
37
- > * declarations* → * declaration* * declarations* _ ?_
38
37
39
38
## Top-Level Code
40
39
@@ -1828,21 +1827,6 @@ as described in <doc:Patterns#Enumeration-Case-Pattern>.
1828
1827
and they behave differently.
1829
1828
-->
1830
1829
1831
- <!--
1832
- old-grammar
1833
- Grammar of an enumeration declaration
1834
-
1835
- enum-declaration -> attribute-list-OPT ``enum`` enum-name generic-parameter-clause-OPT type-inheritance-clause-OPT enum-body
1836
- enum-name -> identifier
1837
- enum-body -> ``{`` declarations-OPT ``}``
1838
-
1839
- enum-member-declaration -> attribute-list-OPT ``case`` enumerator-list
1840
- enumerator-list -> enumerator raw-value-assignment-OPT | enumerator raw-value-assignment-OPT ``,`` enumerator-list
1841
- enumerator -> enumerator-name tuple-type-OPT
1842
- enumerator-name -> identifier
1843
- raw-value-assignment -> ``=`` literal
1844
- -->
1845
-
1846
1830
## Structure Declaration
1847
1831
1848
1832
A * structure declaration* introduces a named structure type into your program.
Original file line number Diff line number Diff line change @@ -748,7 +748,6 @@ make the same change here also.
748
748
> * declaration* → * subscript-declaration* \
749
749
> * declaration* → * operator-declaration* \
750
750
> * declaration* → * precedence-group-declaration* \
751
- > * declarations* → * declaration* * declarations* _ ?_
752
751
753
752
> Grammar of a top-level declaration:
754
753
>
You can’t perform that action at this time.
0 commit comments