aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/text/template/parse
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2012-02-09 07:47:48 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2012-02-09 07:47:48 +0900
commitd082e5976ef9d2d4a7a60659afc19ae2dc9456b3 (patch)
tree0719bdaac6d1f2221e0d34cb158742c12296da71 /src/pkg/text/template/parse
parent68794e7910e2db051b5e1c9a17bc358375fcf157 (diff)
downloadgo-d082e5976ef9d2d4a7a60659afc19ae2dc9456b3.tar.xz
text/template/parse: fix comment
R=r, rsc CC=golang-dev https://golang.org/cl/5644055
Diffstat (limited to 'src/pkg/text/template/parse')
-rw-r--r--src/pkg/text/template/parse/lex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/text/template/parse/lex.go b/src/pkg/text/template/parse/lex.go
index 97c19a160b..54e75ee0ca 100644
--- a/src/pkg/text/template/parse/lex.go
+++ b/src/pkg/text/template/parse/lex.go
@@ -187,7 +187,7 @@ func (l *lexer) lineNumber() int {
}
// error returns an error token and terminates the scan by passing
-// back a nil pointer that will be the next state, terminating l.run.
+// back a nil pointer that will be the next state, terminating l.nextItem.
func (l *lexer) errorf(format string, args ...interface{}) stateFn {
l.items <- item{itemError, fmt.Sprintf(format, args...)}
return nil