Title
compound-statements inside iteration-statements
Status
open
Section
8.8.3 [stmt.cont]
Submitter
US

Created on 2025-10-01.00:00:00 last changed 2 days ago

Messages

Date: 2025-10-10.20:53:38

Suggested resolution:

Change in 8.8.3 [stmt.cont] paragraph 1 as follows:

A continue statement shall be enclosed by (8.1 [stmt.pre]) an iteration-statement or an expansion-statement. If the innermost enclosing such statement X is an iteration-statement (8.6 [stmt.iter]), the continue statement causes control to pass to the end of the statement or compound-statement of X. Otherwise, control passes to the end of the compound-statement of the current Si (8.7 [stmt.expand]).
Date: 2025-10-01.00:00:00
N5028 comment USĀ 36-069

There is no iteration-statement production that directly contains a compound-statement.

History
Date User Action Args
2025-10-10 20:53:38adminsetmessages: + msg8146
2025-10-01 00:00:00admincreate