]> Cypherpunks repositories - gostls13.git/commitdiff
text/template/parse: fix comment
authorMikio Hara <mikioh.mikioh@gmail.com>
Wed, 8 Feb 2012 22:47:48 +0000 (07:47 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 8 Feb 2012 22:47:48 +0000 (07:47 +0900)
R=r, rsc
CC=golang-dev
https://golang.org/cl/5644055

src/pkg/text/template/parse/lex.go

index 97c19a160b005b899e3527947f21e7fb62d23bfd..54e75ee0ca25e19d566c64767ef567fb2a556369 100644 (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