asm: remove unused parameter for function Lex (#18058)
This commit is contained in:
committed by
Martin Holst Swende
parent
1a29bf0ee2
commit
768b4c2e6b
@ -95,7 +95,7 @@ type lexer struct {
|
||||
|
||||
// lex lexes the program by name with the given source. It returns a
|
||||
// channel on which the tokens are delivered.
|
||||
func Lex(name string, source []byte, debug bool) <-chan token {
|
||||
func Lex(source []byte, debug bool) <-chan token {
|
||||
ch := make(chan token)
|
||||
l := &lexer{
|
||||
input: string(source),
|
||||
|
Reference in New Issue
Block a user