1
0
mirror of https://github.com/golang/go synced 2024-11-24 15:00:14 -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>
<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>
<h3 id="Goto_statements">Goto statements</h3>