Skip to content

Commit b109317

Browse files
authored
[basic.pre] Clarify that *declaration*s are not declarations (#8187)
* [basic.pre] Clarify that *declaration*s are not declarations The grammar production _declaration_ is distinct from the term "declaration" defined in [basic.pre].
1 parent e593dc1 commit b109317

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/basic.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
implicit declaration of an injected-class-name\iref{class.pre}.
9898
\end{itemize}
9999
\begin{note}
100+
The term declaration is not a synonym for the grammar non-terminal \grammarterm{declaration}\iref{dcl.pre}.
101+
\end{note}
102+
\begin{note}
100103
The interpretation of a \grammarterm{for-range-declaration} produces
101104
one or more of the above\iref{stmt.ranged}.
102105
\end{note}

0 commit comments

Comments
 (0)