fixed debug output

This commit is contained in:
2023-11-05 13:00:26 +01:00
parent c4c60651d1
commit 56a4000b67
2 changed files with 2 additions and 2 deletions

View File

@@ -317,7 +317,7 @@ func (c *Calc) DoFuncall(funcname string) error {
args = c.stack.Last(function.Expectargs) args = c.stack.Last(function.Expectargs)
} }
c.Debug(fmt.Sprintf("args: %v", args)) c.Debug(fmt.Sprintf("calling %s with args: %v", funcname, args))
// the actual lambda call, so to say. We provide a slice of // the actual lambda call, so to say. We provide a slice of
// the requested size, fetched from the stack (but not popped // the requested size, fetched from the stack (but not popped

View File

@@ -161,7 +161,7 @@ func (s *Stack) Dump() {
} }
func (s *Stack) Clear() { func (s *Stack) Clear() {
s.Debug("DEBUG: clearing stack") s.Debug("clearing stack")
s.linklist = list.List{} s.linklist = list.List{}
} }