summaryrefslogtreecommitdiff
path: root/internal/repl/repl.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/repl/repl.go')
-rw-r--r--internal/repl/repl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/repl/repl.go b/internal/repl/repl.go
index 2ecd9ea..451b6c3 100644
--- a/internal/repl/repl.go
+++ b/internal/repl/repl.go
@@ -179,7 +179,7 @@ func NewREPL(executor func(string), completer func() []string, logWriter io.Writ
fmt.Printf("Warning: Could not load saved variables: %v\n", err)
}
- rpnCalc := rpn.NewRPN(vars)
+ rpnCalc := rpn.NewRPN(vars, nil)
rpnState := NewRPNState(vars, rpnCalc)
repl := &REPL{