|
35 | 35 | \begin{bnf}
|
36 | 36 | \nontermdef{block-declaration}\br
|
37 | 37 | simple-declaration\br
|
38 |
| - asm-definition\br |
| 38 | + asm-declaration\br |
39 | 39 | namespace-alias-definition\br
|
40 | 40 | using-declaration\br
|
41 | 41 | using-directive\br
|
|
78 | 78 | \end{bnf}
|
79 | 79 |
|
80 | 80 | \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 |
82 | 82 | \grammarterm{linkage-specification}{s} are described in~\ref{dcl.link};
|
83 | 83 | \grammarterm{function-definition}{s} are described in~\ref{dcl.fct.def} and
|
84 | 84 | \grammarterm{template-declaration}{s} and
|
|
823 | 823 | \item
|
824 | 824 | its \grammarterm{function-body} shall not enclose\iref{stmt.stmt}
|
825 | 825 | \begin{itemize}
|
826 |
| -\item an \grammarterm{asm-definition}, |
| 826 | +\item an \grammarterm{asm-declaration}, |
827 | 827 | \item a \tcode{goto} statement,
|
828 | 828 | \item an identifier label\iref{stmt.label},
|
829 | 829 | \item a definition of a variable
|
|
8015 | 8015 | An \tcode{asm} declaration has the form
|
8016 | 8016 |
|
8017 | 8017 | \begin{bnf}
|
8018 |
| -\nontermdef{asm-definition}\br |
| 8018 | +\nontermdef{asm-declaration}\br |
8019 | 8019 | \opt{attribute-specifier-seq} \keyword{asm} \terminal{(} string-literal \terminal{)} \terminal{;}
|
8020 | 8020 | \end{bnf}
|
8021 | 8021 |
|
8022 | 8022 | The \tcode{asm} declaration is conditionally-supported; its meaning is
|
8023 | 8023 | \impldef{meaning of \tcode{asm} declaration}.
|
8024 | 8024 | 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. |
8026 | 8026 | \begin{note}
|
8027 | 8027 | Typically it is used to pass information through the implementation to
|
8028 | 8028 | an assembler.
|
|
0 commit comments