Lexer doesn't need a name
This commit is contained in:
+1
-1
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user