diff --git a/lexer/lexer.go b/lexer/lexer.go index b842d21..edc6f68 100644 --- a/lexer/lexer.go +++ b/lexer/lexer.go @@ -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),