From cd38a68a4b9167c85b524f369ea9e6939889726c Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Fri, 22 Aug 2025 14:51:45 -0400 Subject: [PATCH 1/2] [basic.pre] Clarify that *declaration*s are not declarations During our recent review of the standard, much confusion arose from mistaking the grammar term _declaration_ with the textual term "declaration" defined in [basic.pre], so add a note to avoid others spending far too much time to realize the same. --- source/basic.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/basic.tex b/source/basic.tex index a1b8f00cb2..a1375c3835 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -97,6 +97,9 @@ implicit declaration of an injected-class-name\iref{class.pre}. \end{itemize} \begin{note} +The term declaration is not a synonym for a \grammarterm{declaration}\iref{dcl.pre}. +\end{note} +\begin{note} The interpretation of a \grammarterm{for-range-declaration} produces one or more of the above\iref{stmt.ranged}. \end{note} From f744bcceaeb1a5898b94e3f90c08f11ff9b124bc Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Fri, 22 Aug 2025 15:40:31 -0400 Subject: [PATCH 2/2] Update source/basic.tex Co-authored-by: Jens Maurer --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index a1375c3835..a5849ea6e7 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -97,7 +97,7 @@ implicit declaration of an injected-class-name\iref{class.pre}. \end{itemize} \begin{note} -The term declaration is not a synonym for a \grammarterm{declaration}\iref{dcl.pre}. +The term declaration is not a synonym for the grammar non-terminal \grammarterm{declaration}\iref{dcl.pre}. \end{note} \begin{note} The interpretation of a \grammarterm{for-range-declaration} produces