]> Cypherpunks repositories - gostls13.git/commit
Revert "fmt: check newline in the end of input"
authorRuss Cox <rsc@golang.org>
Fri, 11 Dec 2015 03:28:15 +0000 (03:28 +0000)
committerRuss Cox <rsc@golang.org>
Fri, 11 Dec 2015 06:35:20 +0000 (06:35 +0000)
commitdbaf5010b33e5819050ebb0a387eb0bff2cfb8bf
tree787b859ad9aabc897599920d8c8508009cb6ce1d
parenta77182f47f0e55789f06c13accd694df60d85f07
Revert "fmt: check newline in the end of input"

This change can break real code. There are other newline-related bugs in this code, and fixing them will also break real code. If we're going to break real code, let's fix all the bugs together and just break things once.

This reverts commit 8331f19d9700457d74bf377755ca270a32d2faa3.

Change-Id: Ie4b3022f3a305c3e1f78cc208e50beed212608e6
Reviewed-on: https://go-review.googlesource.com/17724
Reviewed-by: Rob Pike <r@golang.org>
src/fmt/scan.go
src/fmt/scan_test.go