From: Rob Pike Date: Wed, 28 Apr 2010 20:18:40 +0000 (-0700) Subject: spec: clarify "continue" with label. the text was obvious in intent but X-Git-Tag: weekly.2010-05-04~52 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=de92199648a71c7296719a847e043f3183328d7e;p=gostls13.git 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 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index e53d3fb396..b4637e6e29 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -4217,7 +4217,10 @@ ContinueStmt = "continue" [ Label ] .

-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 +(§For statements).

Goto statements