1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:31:22 -06:00
go/src/pkg/text
Rob Pike b7eb0e5990 text/template/parse: nicer error when comment ends before final delimiter
By separating finding the end of the comment from the end of the action,
we can diagnose malformed comments better.
Also tweak the documentation to make the comment syntax clearer.

Fixes #6022.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/12570044
2013-08-09 12:57:21 +10: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: nicer error when comment ends before final delimiter 2013-08-09 12:57:21 +10:00