Commit d082e597 authored by Mikio Hara's avatar Mikio Hara

text/template/parse: fix comment

R=r, rsc
CC=golang-dev
https://golang.org/cl/5644055
parent 68794e79
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment