Skip to content

Commit 97a883b

Browse files
Eelistkoeppe
authored andcommitted
Move plural 's' outside of \grammarterm. (#1462)
1 parent bcb5630 commit 97a883b

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

source/classes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@
991991
\pnum
992992
A non-static member function may be declared \tcode{const},
993993
\tcode{volatile}, or \tcode{const} \tcode{volatile}. These
994-
\grammarterm{cv-qualifiers} affect the type of the \tcode{this}
994+
\grammarterm{cv-qualifier}{s} affect the type of the \tcode{this}
995995
pointer~(\ref{class.this}). They also affect the function
996996
type~(\ref{dcl.fct}) of the member function; a member function declared
997997
\tcode{const} is a \term{const} member function, a member function

source/declarations.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
contains exactly one \grammarterm{declarator-id}, which is the name
199199
declared by that \grammarterm{init-declarator} and hence one of the names
200200
declared by the declaration. The
201-
\grammarterm{defining-type-specifiers}~(\ref{dcl.type}) in the
201+
\grammarterm{defining-type-specifier}{s}~(\ref{dcl.type}) in the
202202
\grammarterm{decl-specifier-seq} and the recursive \grammarterm{declarator}
203203
structure of the \grammarterm{init-declarator} describe a
204204
type~(\ref{dcl.meaning}), which is then associated with the name being
@@ -1121,14 +1121,14 @@
11211121
\grammarterm{type-specifier}{s} are discussed in the rest of this section.
11221122
\end{note}
11231123

1124-
\rSec3[dcl.type.cv]{The \grammarterm{cv-qualifiers}}%
1124+
\rSec3[dcl.type.cv]{The \grammarterm{cv-qualifier}{s}}%
11251125
\indextext{specifier!cv-qualifier}%
11261126
\indextext{initialization!\idxcode{const}}%
11271127
\indextext{type specifier!\idxcode{const}}%
11281128
\indextext{type specifier!\idxcode{volatile}}
11291129

11301130
\pnum
1131-
There are two \grammarterm{cv-qualifiers}, \tcode{const} and
1131+
There are two \grammarterm{cv-qualifier}{s}, \tcode{const} and
11321132
\tcode{volatile}. Each \grammarterm{cv-qualifier} shall appear at most once in
11331133
a \grammarterm{cv-qualifier-seq}. If a \grammarterm{cv-qualifier} appears in a
11341134
\grammarterm{decl-specifier-seq}, the \grammarterm{init-declarator-list}
@@ -1357,8 +1357,8 @@
13571357
\end{simpletypetable}
13581358

13591359
\pnum
1360-
When multiple \grammarterm{simple-type-specifiers} are allowed, they can be
1361-
freely intermixed with other \grammarterm{decl-specifiers} in any order.
1360+
When multiple \grammarterm{simple-type-specifier}{s} are allowed, they can be
1361+
freely intermixed with other \grammarterm{decl-specifier}{s} in any order.
13621362
\begin{note}
13631363
It is \impldef{signedness of \tcode{char}} whether objects of \tcode{char} type are
13641364
represented as signed or unsigned quantities. The \tcode{signed} specifier
@@ -2323,7 +2323,7 @@
23232323
Because a \grammarterm{namespace-definition} contains
23242324
\grammarterm{declaration}{s} in its \grammarterm{namespace-body} and a
23252325
\grammarterm{namespace-definition} is itself a \grammarterm{declaration}, it
2326-
follows that \grammarterm{namespace-definitions} can be nested.
2326+
follows that \grammarterm{namespace-definition}{s} can be nested.
23272327
\begin{example}
23282328
\begin{codeblock}
23292329
namespace Outer {
@@ -3699,7 +3699,7 @@
36993699
\grammarterm{attribute}'s specification permits it. An \grammarterm{attribute} followed
37003700
by an ellipsis is a pack expansion~(\ref{temp.variadic}).
37013701
An \grammarterm{attribute-specifier} that contains no \grammarterm{attribute}{s} has no
3702-
effect. The order in which the \grammarterm{attribute-tokens} appear in an
3702+
effect. The order in which the \grammarterm{attribute-token}{s} appear in an
37033703
\grammarterm{attribute-list} is not significant. If a
37043704
keyword~(\ref{lex.key})
37053705
or an alternative token~(\ref{lex.digraph}) that satisfies the syntactic requirements

source/expressions.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@
540540
or one of its base classes (Clause~\ref{class.derived}), is a
541541
\indextext{id!qualified}%
542542
\grammarterm{qualified-id};~\ref{class.qual} describes name lookup for
543-
class members that appear in \grammarterm{qualified-ids}. The result is the
543+
class members that appear in \grammarterm{qualified-id}{s}. The result is the
544544
member. The type of the result is the type of the member. The result is
545545
an lvalue if the member is a static member function or a data member and a
546546
prvalue otherwise.
@@ -568,7 +568,7 @@
568568
\grammarterm{using-directive}), is a
569569
\indextext{id!qualified}%
570570
\grammarterm{qualified-id};~\ref{namespace.qual} describes name lookup for
571-
namespace members that appear in \grammarterm{qualified-ids}. The result is
571+
namespace members that appear in \grammarterm{qualified-id}{s}. The result is
572572
the member. The type of the result is the type of the member. The result
573573
is an lvalue if the member is a function or a variable and a prvalue otherwise.
574574

@@ -4648,7 +4648,7 @@
46484648
\pnum
46494649
Evaluating a \grammarterm{throw-expression} with an operand throws an
46504650
exception~(\ref{except.throw}); the type of the exception object is determined by removing
4651-
any top-level \grammarterm{cv-qualifiers} from the static type of the
4651+
any top-level \grammarterm{cv-qualifier}{s} from the static type of the
46524652
operand and adjusting the type
46534653
from ``array of \tcode{T}'' or function type \tcode{T}
46544654
to ``pointer to \tcode{T}''.

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
\grammarterm{template-argument}{s}~(\ref{temp.arg}).
304304
\end{note}
305305
The top-level
306-
\grammarterm{cv-qualifiers}
306+
\grammarterm{cv-qualifier}{s}
307307
on the
308308
\grammarterm{template-parameter}
309309
are ignored when determining its type.

0 commit comments

Comments
 (0)