added debug output to Backup()

This commit is contained in:
2023-11-09 18:47:31 +01:00
parent b91e024569
commit bacbfcc517
3 changed files with 13 additions and 0 deletions

View File

@@ -393,6 +393,10 @@ func (c *Calc) DoFuncall(funcname string) error {
return R.Err
}
// don't forget to backup!
c.stack.Backup()
// "pop"
if batch {
// get rid of stack
c.stack.Clear()