1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:05:00 -07:00

text/template/parse: fix comment

R=r, rsc
CC=golang-dev
https://golang.org/cl/5644055
This commit is contained in:
Mikio Hara 2012-02-09 07:47:48 +09:00
parent 68794e7910
commit d082e5976e

View File

@ -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