summaryrefslogtreecommitdiff
path: root/src/bufio
Commit message (Collapse)AuthorAgeFilesLines
* bufio: remove unused 'panicked' variable from testAndrew Gerrand2014-11-061-4/+1
| | | | | | | LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/166230044
* bufio: fix reading of many blank lines in a rowRuss Cox2014-11-052-1/+14
| | | | | | | | | Fixes issue 9020. LGTM=bradfitz, r R=r, bradfitz CC=golang-codereviews https://codereview.appspot.com/170030043
* bufio: don't loop generating empty tokensRob Pike2014-11-062-0/+70
| | | | | | | | | | | | | | The new rules for split functions mean that we are exposed to the common bug of a function that loops forever at EOF. Pick these off by shutting down the scanner if too many consecutive empty tokens are delivered. Fixes issue 9020. LGTM=rsc, adg R=golang-codereviews, rsc, adg, bradfitz CC=golang-codereviews https://codereview.appspot.com/169970043
* bufio: fix handling of empty tokens at end of line/fileRob Pike2014-09-252-1/+39
| | | | | | | | | Fixes issue 8672. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/145390043
* build: move package sources from src/pkg to srcRuss Cox2014-09-086-0/+2998
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.