Files
2025-10-25 03:02:53 +03:00

20 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[stmt.cont]
# 8 Statements [[stmt]](./#stmt)
## 8.8 Jump statements [[stmt.jump]](stmt.jump#stmt.cont)
### 8.8.3 The continue statement [stmt.cont]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/statements.tex#L1046)
A continue statement shall be enclosed by ([[stmt.pre]](stmt.pre "8.1Preamble"))an [*iteration-statement*](stmt.iter.general#nt:iteration-statement "8.6.1General[stmt.iter.general]") or an [*expansion-statement*](stmt.expand#nt:expansion-statement "8.7Expansion statements[stmt.expand]")[.](#1.sentence-1)
If the innermost enclosing such statement X is an [*iteration-statement*](stmt.iter.general#nt:iteration-statement "8.6.1General[stmt.iter.general]") ([[stmt.iter]](stmt.iter "8.6Iteration statements")),
the continue statement
causes control to pass to the end of the [*statement*](stmt.pre#nt:statement "8.1Preamble[stmt.pre]") or [*compound-statement*](stmt.block#nt:compound-statement "8.4Compound statement or block[stmt.block]") of X[.](#1.sentence-2)
Otherwise, control passes to the end of the [*compound-statement*](stmt.block#nt:compound-statement "8.4Compound statement or block[stmt.block]") of the current Si ([[stmt.expand]](stmt.expand "8.7Expansion statements"))[.](#1.sentence-3)