From 52d4d667d9589e756aa94ed714d471a3152715ea Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 28 Apr 2010 13:18:40 -0700 Subject: spec: clarify "continue" with label. the text was obvious in intent but inaccurate in meaning. R=gri CC=golang-dev http://codereview.appspot.com/964045 --- doc/go_spec.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') 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 ] .

-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

-- cgit v1.2.3