CallFunction() has been replaced by three new functions:

CallFunctionByTerm(), CallFunctionByArgs() and CallFunctionByParams()
This commit is contained in:
2024-08-02 06:39:33 +02:00
parent 075b0b5691
commit dceb31f542
6 changed files with 63 additions and 38 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func newFuncCallTerm(tk *Token, args []*term) *term {
func evalFuncCall(ctx ExprContext, opTerm *term) (v any, err error) {
name, _ := opTerm.tk.Value.(string)
v, err = CallFunction(ctx, name, opTerm)
v, err = CallFunctionByTerm(ctx, name, opTerm)
return
}