diff --git a/go/calc.go b/go/calc.go index cc96787..0805ccb 100644 --- a/go/calc.go +++ b/go/calc.go @@ -34,7 +34,7 @@ Available operators: basic operators: + - * / Math operators: -^ power` +^ power` // FIXME: add help strings from lua functions // That way I can add custom functions to completion func GetCompleteCustomFunctions() func(string) []string { diff --git a/go/interpreter.go b/go/interpreter.go index 1ae4e2b..87ed682 100644 --- a/go/interpreter.go +++ b/go/interpreter.go @@ -12,6 +12,7 @@ var L *lua.LState var LuaFuncs map[string]int +// FIXME: add 2nd var with help string // called from lua to register a 1 arg math function func RegisterFuncOneArg(L *lua.LState) int { function := L.ToString(1)