From d082e5976ef9d2d4a7a60659afc19ae2dc9456b3 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Thu, 9 Feb 2012 07:47:48 +0900 Subject: [PATCH] text/template/parse: fix comment R=r, rsc CC=golang-dev https://golang.org/cl/5644055 --- src/pkg/text/template/parse/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0