]> Cypherpunks repositories - gostls13.git/commit
go/scanner: reject BOMs that are not at the beginning
authorRobert Griesemer <gri@golang.org>
Sat, 13 Apr 2013 04:28:38 +0000 (21:28 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 13 Apr 2013 04:28:38 +0000 (21:28 -0700)
commit968732b677e592019526fe1afe0bbf45f52df4b7
treed13568a9d7bfacb54bd2afc87a4bf44db9b2be9d
parentd4d063580f3e684945e9f8dc470b2312fb27c5cf
go/scanner: reject BOMs that are not at the beginning

For compliance with gc. See also issue 5265.
Not Go1.1 critical, but harmless.

R=r
CC=golang-dev
https://golang.org/cl/8736043
src/pkg/go/scanner/scanner.go
src/pkg/go/scanner/scanner_test.go