Skip to content

Commit 4f9942c

Browse files
jensmaurerzygoloid
authored andcommitted
[dcl.asm] Rename grammar term 'asm-definition' to 'asm-declaration'
1 parent c635711 commit 4f9942c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/declarations.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
\begin{bnf}
3636
\nontermdef{block-declaration}\br
3737
simple-declaration\br
38-
asm-definition\br
38+
asm-declaration\br
3939
namespace-alias-definition\br
4040
using-declaration\br
4141
using-directive\br
@@ -78,7 +78,7 @@
7878
\end{bnf}
7979

8080
\begin{note}
81-
\grammarterm{asm-definition}{s} are described in~\ref{dcl.asm}, and
81+
\grammarterm{asm-declaration}{s} are described in~\ref{dcl.asm}, and
8282
\grammarterm{linkage-specification}{s} are described in~\ref{dcl.link};
8383
\grammarterm{function-definition}{s} are described in~\ref{dcl.fct.def} and
8484
\grammarterm{template-declaration}{s} and
@@ -823,7 +823,7 @@
823823
\item
824824
its \grammarterm{function-body} shall not enclose\iref{stmt.stmt}
825825
\begin{itemize}
826-
\item an \grammarterm{asm-definition},
826+
\item an \grammarterm{asm-declaration},
827827
\item a \tcode{goto} statement,
828828
\item an identifier label\iref{stmt.label},
829829
\item a definition of a variable
@@ -8015,14 +8015,14 @@
80158015
An \tcode{asm} declaration has the form
80168016

80178017
\begin{bnf}
8018-
\nontermdef{asm-definition}\br
8018+
\nontermdef{asm-declaration}\br
80198019
\opt{attribute-specifier-seq} \keyword{asm} \terminal{(} string-literal \terminal{)} \terminal{;}
80208020
\end{bnf}
80218021

80228022
The \tcode{asm} declaration is conditionally-supported; its meaning is
80238023
\impldef{meaning of \tcode{asm} declaration}.
80248024
The optional \grammarterm{attribute-specifier-seq} in
8025-
an \grammarterm{asm-definition} appertains to the \tcode{asm} declaration.
8025+
an \grammarterm{asm-declaration} appertains to the \tcode{asm} declaration.
80268026
\begin{note}
80278027
Typically it is used to pass information through the implementation to
80288028
an assembler.

0 commit comments

Comments
 (0)