Fix typo in comment for func Lex (#6588)

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
This commit is contained in:
Guangwen Feng 2020-01-09 19:27:26 +08:00 committed by Brian Brazil
parent b18b6cb332
commit 835c27a76b
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ func (l *Lexer) NextItem(itemp *Item) {
l.lastPos = l.itemp.Pos
}
// lex creates a new scanner for the input string.
// Lex creates a new scanner for the input string.
func Lex(input string) *Lexer {
l := &Lexer{
input: input,