1
0
Fork 0

Lexer doesn't need a name

This commit is contained in:
Gregory Eremin 2015-02-16 16:02:31 +07:00
parent 0f04fa41e8
commit 2e6cafb1cb
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ const (
)
// lex creates a new scanner for the input string.
func New(name, input string) *Lexer {
func New(input string) *Lexer {
l := &Lexer{
input: input,
items: make(chan Item),