aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-09-27 18:59:11 -0700
committerRobert Griesemer <gri@golang.org>2010-09-27 18:59:11 -0700
commit0e66a13d10856b2d7c8df1c82112d75746f10725 (patch)
tree3102139f04e3628cd5796148af72e4d351810833
parentfbab1f1bade7bcf6749bfa0d7599ad2c16322821 (diff)
downloadgo-0e66a13d10856b2d7c8df1c82112d75746f10725.tar.gz
go-0e66a13d10856b2d7c8df1c82112d75746f10725.zip
go_spec: EOF may insert a semicolon
R=rsc, r, iant CC=golang-dev https://golang.org/cl/2266043
-rw-r--r--doc/go_spec.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 5c25835d86..8735d4e8d3 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,5 +1,5 @@
<!-- title The Go Programming Language Specification -->
-<!-- subtitle Version of Sep 24, 2010 -->
+<!-- subtitle Version of Sep 27, 2010 -->
<!--
TODO
@@ -163,7 +163,7 @@ and delimiters</i>, and <i>literals</i>. <i>White space</i>, formed from
spaces (U+0020), horizontal tabs (U+0009),
carriage returns (U+000D), and newlines (U+000A),
is ignored except as it separates tokens
-that would otherwise combine into a single token. Also, a newline
+that would otherwise combine into a single token. Also, a newline or end of file
may trigger the insertion of a <a href="#Semicolons">semicolon</a>.
While breaking the input into tokens,
the next token is the longest sequence of characters that form a