From: Mikio Hara Date: Wed, 8 Feb 2012 22:47:48 +0000 (+0900) Subject: text/template/parse: fix comment X-Git-Tag: weekly.2012-02-14~199 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d082e5976ef9d2d4a7a60659afc19ae2dc9456b3;p=gostls13.git text/template/parse: fix comment R=r, rsc CC=golang-dev https://golang.org/cl/5644055 --- 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