asm: remove unused parameter for function Lex (#18058)

This commit is contained in:
Corey Lin
2019-03-14 17:35:55 +08:00
committed by Martin Holst Swende
parent 1a29bf0ee2
commit 768b4c2e6b
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ import (
func Compile(fn string, src []byte, debug bool) (string, error) {
compiler := asm.NewCompiler(debug)
compiler.Feed(asm.Lex(fn, src, debug))
compiler.Feed(asm.Lex(src, debug))
bin, compileErrors := compiler.Compile()
if len(compileErrors) > 0 {