summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/go_spec.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index e53d3fb39..b4637e6e2 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -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>