mirror of
https://github.com/golang/go
synced 2024-11-22 00:14:42 -07:00
spec: clarify "continue" with label. the text was obvious in intent but
inaccurate in meaning. R=gri CC=golang-dev https://golang.org/cl/964045
This commit is contained in:
parent
1331f8b3cb
commit
de92199648
@ -4217,7 +4217,10 @@ ContinueStmt = "continue" [ Label ] .
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The optional label is analogous to that of a "break" statement.
|
If there is a label, it must be that of an enclosing
|
||||||
|
"for" statement, and that is the one whose execution
|
||||||
|
advances
|
||||||
|
(§<a href="#For_statements">For statements</a>).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3 id="Goto_statements">Goto statements</h3>
|
<h3 id="Goto_statements">Goto statements</h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user