Skip to content

Commit e6c76c7

Browse files
committed
Fix more misuses of \grammarterm
1 parent 1eeee72 commit e6c76c7

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

source/basic.tex

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

715715
\pnum
716716
The point of declaration for an
717-
\grammarterm{injected-class-name} (Clause~\ref{class}) is immediately following
717+
injected-class-name (Clause~\ref{class}) is immediately following
718718
the opening brace of the class definition.
719719

720720
\pnum

source/classes.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
A \grammarterm{class-name} is inserted into the scope in which it is
6565
declared immediately after the \grammarterm{class-name} is seen. The
6666
\grammarterm{class-name} is also inserted into the scope of the class
67-
itself; this is known as the \grammarterm{injected-class-name}.
68-
\indextext{\idxgram{injected-class-name}}%
67+
itself; this is known as the \defn{injected-class-name}.
6968
For purposes of access checking, the injected-class-name is treated as
7069
if it were a public member name.
7170
\indextext{definition!class}%

source/declarators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@
21102110
attribute-specifier-seq\opt decl-specifier-seq\opt declarator virt-specifier-seq\opt{} \terminal{ = default ;}
21112111
\end{ncbnf}
21122112

2113-
is called an \grammarterm{explicitly-defaulted} definition.
2113+
is called an \term{explicitly-defaulted} definition.
21142114
A function that is explicitly defaulted shall
21152115

21162116
\begin{itemize}

source/overloading.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
\indextext{function, overloaded|see{overloading}}%
1111
When two or more different declarations are specified for a single name
1212
in the same scope, that name is said to be
13-
\grammarterm{overloaded}.
13+
\term{overloaded}.
1414
By extension, two declarations in the same scope that declare the same name
1515
but with different types are called
1616
\term{overloaded declarations}.

0 commit comments

Comments
 (0)