Fix typo in comment for func Lex (#6588)
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
This commit is contained in:
parent
b18b6cb332
commit
835c27a76b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue