From: Robert Griesemer Date: Thu, 21 Dec 2017 23:17:35 +0000 (-0800) Subject: spec: provide some (minimal) intuition for the notion of "terminating statement" X-Git-Tag: go1.10beta2~82 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f3f507b2d86bfb38c7e466a465d5b6463cfd4184;p=gostls13.git spec: provide some (minimal) intuition for the notion of "terminating statement" Fixes #23215. Change-Id: Ib20825bf08915b4daaabbfd91f168e24973c512d Reviewed-on: https://go-review.googlesource.com/85215 Reviewed-by: Rob Pike --- diff --git a/doc/go_spec.html b/doc/go_spec.html index ebf1cefffe..9232eb0f8a 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4356,7 +4356,9 @@ SimpleStmt = EmptyStmt | ExpressionStmt | SendStmt | IncDecStmt | Assignment | S

Terminating statements

-A terminating statement is one of the following: +A terminating statement prevents execution of all statements that lexically +appear after it in the same block. The following statements +are terminating: