Skip to content

Move plural 's' outside of \grammarterm. #1462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@
\pnum
A non-static member function may be declared \tcode{const},
\tcode{volatile}, or \tcode{const} \tcode{volatile}. These
\grammarterm{cv-qualifiers} affect the type of the \tcode{this}
\grammarterm{cv-qualifier}{s} affect the type of the \tcode{this}
pointer~(\ref{class.this}). They also affect the function
type~(\ref{dcl.fct}) of the member function; a member function declared
\tcode{const} is a \term{const} member function, a member function
Expand Down
14 changes: 7 additions & 7 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
contains exactly one \grammarterm{declarator-id}, which is the name
declared by that \grammarterm{init-declarator} and hence one of the names
declared by the declaration. The
\grammarterm{defining-type-specifiers}~(\ref{dcl.type}) in the
\grammarterm{defining-type-specifier}{s}~(\ref{dcl.type}) in the
\grammarterm{decl-specifier-seq} and the recursive \grammarterm{declarator}
structure of the \grammarterm{init-declarator} describe a
type~(\ref{dcl.meaning}), which is then associated with the name being
Expand Down Expand Up @@ -1121,14 +1121,14 @@
\grammarterm{type-specifier}{s} are discussed in the rest of this section.
\end{note}

\rSec3[dcl.type.cv]{The \grammarterm{cv-qualifiers}}%
\rSec3[dcl.type.cv]{The \grammarterm{cv-qualifier}{s}}%
\indextext{specifier!cv-qualifier}%
\indextext{initialization!\idxcode{const}}%
\indextext{type specifier!\idxcode{const}}%
\indextext{type specifier!\idxcode{volatile}}

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

\pnum
When multiple \grammarterm{simple-type-specifiers} are allowed, they can be
freely intermixed with other \grammarterm{decl-specifiers} in any order.
When multiple \grammarterm{simple-type-specifier}{s} are allowed, they can be
freely intermixed with other \grammarterm{decl-specifier}{s} in any order.
\begin{note}
It is \impldef{signedness of \tcode{char}} whether objects of \tcode{char} type are
represented as signed or unsigned quantities. The \tcode{signed} specifier
Expand Down Expand Up @@ -2323,7 +2323,7 @@
Because a \grammarterm{namespace-definition} contains
\grammarterm{declaration}{s} in its \grammarterm{namespace-body} and a
\grammarterm{namespace-definition} is itself a \grammarterm{declaration}, it
follows that \grammarterm{namespace-definitions} can be nested.
follows that \grammarterm{namespace-definition}{s} can be nested.
\begin{example}
\begin{codeblock}
namespace Outer {
Expand Down Expand Up @@ -3699,7 +3699,7 @@
\grammarterm{attribute}'s specification permits it. An \grammarterm{attribute} followed
by an ellipsis is a pack expansion~(\ref{temp.variadic}).
An \grammarterm{attribute-specifier} that contains no \grammarterm{attribute}{s} has no
effect. The order in which the \grammarterm{attribute-tokens} appear in an
effect. The order in which the \grammarterm{attribute-token}{s} appear in an
\grammarterm{attribute-list} is not significant. If a
keyword~(\ref{lex.key})
or an alternative token~(\ref{lex.digraph}) that satisfies the syntactic requirements
Expand Down
6 changes: 3 additions & 3 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@
or one of its base classes (Clause~\ref{class.derived}), is a
\indextext{id!qualified}%
\grammarterm{qualified-id};~\ref{class.qual} describes name lookup for
class members that appear in \grammarterm{qualified-ids}. The result is the
class members that appear in \grammarterm{qualified-id}{s}. The result is the
member. The type of the result is the type of the member. The result is
an lvalue if the member is a static member function or a data member and a
prvalue otherwise.
Expand Down Expand Up @@ -568,7 +568,7 @@
\grammarterm{using-directive}), is a
\indextext{id!qualified}%
\grammarterm{qualified-id};~\ref{namespace.qual} describes name lookup for
namespace members that appear in \grammarterm{qualified-ids}. The result is
namespace members that appear in \grammarterm{qualified-id}{s}. The result is
the member. The type of the result is the type of the member. The result
is an lvalue if the member is a function or a variable and a prvalue otherwise.

Expand Down Expand Up @@ -4648,7 +4648,7 @@
\pnum
Evaluating a \grammarterm{throw-expression} with an operand throws an
exception~(\ref{except.throw}); the type of the exception object is determined by removing
any top-level \grammarterm{cv-qualifiers} from the static type of the
any top-level \grammarterm{cv-qualifier}{s} from the static type of the
operand and adjusting the type
from ``array of \tcode{T}'' or function type \tcode{T}
to ``pointer to \tcode{T}''.
Expand Down
2 changes: 1 addition & 1 deletion source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
\grammarterm{template-argument}{s}~(\ref{temp.arg}).
\end{note}
The top-level
\grammarterm{cv-qualifiers}
\grammarterm{cv-qualifier}{s}
on the
\grammarterm{template-parameter}
are ignored when determining its type.
Expand Down