Commit 0e66a13d authored by Robert Griesemer's avatar Robert Griesemer

go_spec: EOF may insert a semicolon

R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/2266043
parent fbab1f1b
<!-- 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
......
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