1
0
mirror of https://github.com/golang/go synced 2024-11-08 07:56:16 -07:00
go/src/text
Robert Griesemer 8f06e217ea text/scanner: use correct token position in example
While at it, unindent source text so column values are easier
to read, remove unnecessary text in output, and simplify the
loop.

Fixes #20346.

Change-Id: I0fde02b9e4242383da427f4cf4c6c13dd0ab3b47
Reviewed-on: https://go-review.googlesource.com/43450
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-05-12 19:45:59 +00:00
..
scanner text/scanner: use correct token position in example 2017-05-12 19:45:59 +00:00
tabwriter
template html/template: allow safe usage of predefined escapers in pipelines 2017-05-05 18:56:31 +00:00