Skip to content

Commit fe24762

Browse files
authored
[stmt.pre] List "compound-statement" explicitly as part of a selection statement
This clarifies the substatements of `if consteval` (which has a compound-statement).
1 parent dd4ecf3 commit fe24762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/statements.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
\item
4747
for a \grammarterm{compound-statement}, any \grammarterm{statement} of its \grammarterm{statement-seq},
4848
\item
49-
for a \grammarterm{selection-statement}, any of its \grammarterm{statement}{s} (but not its \grammarterm{init-statement}), or
49+
for a \grammarterm{selection-statement}, any of its \grammarterm{statement}{s} or \grammarterm{compound-statement}{s} (but not its \grammarterm{init-statement}), or
5050
\item
5151
for an \grammarterm{iteration-statement}, its \grammarterm{statement} (but not an \grammarterm{init-statement}).
5252
\end{itemize}

0 commit comments

Comments
 (0)