Commit f3f507b2 authored by Robert Griesemer's avatar Robert Griesemer

spec: provide some (minimal) intuition for the notion of "terminating statement"

Fixes #23215.

Change-Id: Ib20825bf08915b4daaabbfd91f168e24973c512d
Reviewed-on: https://go-review.googlesource.com/85215Reviewed-by: 's avatarRob Pike <r@golang.org>
parent 60be6f85
<!--{
"Title": "The Go Programming Language Specification",
"Subtitle": "Version of October 25, 2017",
"Subtitle": "Version of December 21, 2017",
"Path": "/ref/spec"
}-->
......@@ -4356,7 +4356,9 @@ SimpleStmt = EmptyStmt | ExpressionStmt | SendStmt | IncDecStmt | Assignment | S
<h3 id="Terminating_statements">Terminating statements</h3>
<p>
A terminating statement is one of the following:
A <i>terminating statement</i> prevents execution of all statements that lexically
appear after it in the same <a href="#Blocks">block</a>. The following statements
are terminating:
</p>
<ol>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment