1
0
mirror of https://github.com/golang/go synced 2024-10-05 00:21:21 -06:00
go/src/pkg/text
Shenghou Ma bee148bf23 text/template/parse: don't show itemType in error messages
so that the user don't need to decipher something like this:
template: main:1: expected %!s(parse.itemType=14) in end; got "|"
now they get this:
template: main:1: unexpected "|" in end

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7128054
2013-01-22 02:48:40 +08:00
..
scanner text/scanner: skip first character if it's a BOM 2012-09-07 17:15:42 -07:00
tabwriter doc: various "the the" and other typos 2012-07-08 11:57:04 +10:00
template text/template/parse: don't show itemType in error messages 2013-01-22 02:48:40 +08:00