mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 12:31:04 +01:00
bump version
This commit is contained in:
5
calc.go
5
calc.go
@@ -287,11 +287,6 @@ func (c *Calc) Eval(line string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Execute a math function, check if it is defined just in case
|
// Execute a math function, check if it is defined just in case
|
||||||
//
|
|
||||||
// FIXME: add a loop over DoFuncall() for non-batch-only functions
|
|
||||||
// like + or *
|
|
||||||
//
|
|
||||||
// FIXME: use R{} as well? or even everywhere, while we're at it?
|
|
||||||
func (c *Calc) DoFuncall(funcname string) error {
|
func (c *Calc) DoFuncall(funcname string) error {
|
||||||
var function *Funcall
|
var function *Funcall
|
||||||
if c.batch {
|
if c.batch {
|
||||||
|
|||||||
2
main.go
2
main.go
@@ -30,7 +30,7 @@ import (
|
|||||||
lua "github.com/yuin/gopher-lua"
|
lua "github.com/yuin/gopher-lua"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION string = "2.0.0"
|
const VERSION string = "2.0.1"
|
||||||
|
|
||||||
const Usage string = `This is rpn, a reverse polish notation calculator cli.
|
const Usage string = `This is rpn, a reverse polish notation calculator cli.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user