export var functions
This commit is contained in:
parent
a08677b4f4
commit
4865c7ce92
5 changed files with 33 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ func (f Function) ParseFunction(args *Token) bool {
|
|||
}
|
||||
|
||||
if i != 0 {
|
||||
log.Log(log.ERR,
|
||||
log.Log(log.ERR,
|
||||
"Incorrect number of arguments",
|
||||
"eval")
|
||||
return false
|
||||
|
|
@ -69,7 +69,7 @@ func GetFunction(arg string, table FuncTable) *Function {
|
|||
if !ok {
|
||||
log.Log(log.DEBUG,
|
||||
"function " + arg + " not found",
|
||||
"eval")
|
||||
"ftable")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue