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:
parent
68794e7910
commit
d082e5976e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user