1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:54:39 -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:
Rob Pike 2010-04-28 13:18:40 -07:00
parent 1331f8b3cb
commit de92199648

View File

@ -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>