Skip to content

Commit 8570672

Browse files
Eeliszygoloid
authored andcommitted
[std] Fix dangling \grammarterms.
1 parent 9433200 commit 8570672

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

source/compatibility.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
module *m2; // variable declaration
4141

4242
class import {};
43-
import j1; // was variable declaration; now \grammarterm{import-declaration}
43+
import j1; // was variable declaration; now \grammarterm{module-import-declaration}
4444
::import j2; // variable declaration
4545
\end{codeblock}
4646
\end{example}

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6384,7 +6384,7 @@
63846384
and if a global allocation function is selected,
63856385
the \tcode{::operator new(size_t, nothrow_t)} form is used.
63866386
The allocation function used in this case shall have a non-throwing
6387-
\grammarterm{noexcept-specification}.
6387+
\grammarterm{noexcept-specifier}.
63886388
If the allocation function returns \tcode{nullptr}, the coroutine returns
63896389
control to the caller of the coroutine and the return value is obtained by a
63906390
call to \tcode{T::get_return_object_on_allocation_failure()}, where \tcode{T}

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4365,7 +4365,7 @@
43654365
\grammarterm{function-body} outside of a \grammarterm{handler}\iref{except.pre}.
43664366
In a \grammarterm{declaration-statement} or in the
43674367
\grammarterm{simple-declaration} (if any)
4368-
of a \grammarterm{for-init-statement}, an \grammarterm{await-expression}
4368+
of an \grammarterm{init-statement}, an \grammarterm{await-expression}
43694369
shall appear only in an \grammarterm{initializer} of that
43704370
\grammarterm{declaration-statement} or \grammarterm{simple-declaration}.
43714371
An \grammarterm{await-expression} shall not appear in a

source/modules.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@
673673
\grammarterm{alias-declaration},
674674
\tcode{typedef} declaration,
675675
\grammarterm{using-declaration}, or
676-
\grammarterm{namespace-alias-declaration}
676+
\grammarterm{namespace-alias-definition}
677677
is replaced by the declarations they name
678678
prior to this determination,
679679

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@
27202720
};
27212721
}
27222722

2723-
foo(); // \tcode{xs} contains zero \grammarterm{init-captures}
2723+
foo(); // \tcode{xs} contains zero \grammarterm{init-capture}s
27242724
foo(1); // \tcode{xs} contains one \grammarterm{init-capture}
27252725
\end{codeblock}
27262726
\end{example}

0 commit comments

Comments
 (0)