Remove the unused 'parent' param from the function newTerm().

This commit is contained in:
2024-05-11 06:41:06 +02:00
parent 775751c67b
commit 0a9543543d
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ func (self *parser) parseFuncDef(scanner *scanner) (tree *term, err error) {
for lastSym != SymClosedRound && lastSym != SymEos {
tk = scanner.Next()
if tk.IsSymbol(SymIdentifier) {
param := newTerm(tk, nil)
param := newTerm(tk)
args = append(args, param)
tk = scanner.Next()
} else if itemExpected {