Arithmetic
This commit is contained in:
@@ -46,7 +46,7 @@ func Start(in io.Reader, out io.Writer) {
|
||||
continue
|
||||
}
|
||||
|
||||
stackTop := machine.StackTop()
|
||||
stackTop := machine.LastPoppedStackElem()
|
||||
io.WriteString(out, stackTop.Inspect())
|
||||
io.WriteString(out, "\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user