Changed SetValue() as SetVar() and GetValue() as GetVar()

This commit is contained in:
2024-04-03 06:29:57 +02:00
parent 6c02b02d4a
commit 088e347c95
11 changed files with 38 additions and 38 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func evalAssign(ctx exprContext, self *term) (v any, err error) {
if functor, ok := v.(Functor); ok {
ctx.RegisterFunc(leftTerm.source(), functor, 0, -1)
} else {
ctx.SetValue(leftTerm.tk.source, v)
ctx.SetVar(leftTerm.tk.source, v)
}
}
return