]> Cypherpunks repositories - gostls13.git/commitdiff
go_spec: EOF may insert a semicolon
authorRobert Griesemer <gri@golang.org>
Tue, 28 Sep 2010 01:59:11 +0000 (18:59 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 28 Sep 2010 01:59:11 +0000 (18:59 -0700)
R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/2266043

doc/go_spec.html

index 5c25835d8614d33b5359b744d7df4cc55cfe608e..8735d4e8d39cabbc99dc1ce609c607b40964c5df 100644 (file)
@@ -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