]> Cypherpunks repositories - gostls13.git/commit
bufio: fix handling of empty tokens at end of line/file
authorRob Pike <r@golang.org>
Thu, 25 Sep 2014 19:45:21 +0000 (12:45 -0700)
committerRob Pike <r@golang.org>
Thu, 25 Sep 2014 19:45:21 +0000 (12:45 -0700)
commit74c0de8fb6ef26deece0541a7bf9337ce30c1878
tree9099d444b97b0831a929c05b6c0bac777fb2603b
parentcfae41ff36d833719b073d1eec5f0fd535ca9e61
bufio: fix handling of empty tokens at end of line/file
Fixes #8672.

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/145390043
src/bufio/scan.go
src/bufio/scan_test.go