Skip to content

Commit acbe5e4

Browse files
opensdhzygoloid
authored andcommitted
[dcl.attr.nodiscard], [diff.cpp17.dcl.dcl] Fix grammar/usage
1 parent 14a2f7d commit acbe5e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/compatibility.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@
19271927

19281928
\diffref{dcl.typedef}
19291929
\change Unnamed classes with a typedef name for linkage purposes
1930-
can only contain C-compatible constructs.
1930+
can contain only C-compatible constructs.
19311931
\rationale Necessary for implementability.
19321932
\effect Valid C++ 2017 code may be ill-formed in this International Standard.
19331933
\begin{codeblock}

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8991,7 +8991,7 @@
89918991
in a function declaration or to the declaration of a class or enumeration.
89928992
It shall appear at most once in each \grammarterm{attribute-list}.
89938993
An \grammarterm{attribute-argument-clause} may be present
8994-
and, if present, it shall have the form:
8994+
and, if present, shall have the form:
89958995

89968996
\begin{ncbnf}
89978997
\terminal{(} string-literal \terminal{)}

0 commit comments

Comments
 (0)