Fixed unary function compile.

This commit is contained in:
Marvin Blum
2016-02-07 17:13:33 +01:00
parent 3311fa79c7
commit 28fbbd7e10

View File

@@ -398,7 +398,7 @@ func (c *Compiler) parseUnaryFunction(name, paramsStr string, paramCount int) st
if paramCount == 1 { if paramCount == 1 {
output = name + " " + paramsStr output = name + " " + paramsStr
} else { } else {
output = "[" + paramsStr + "] call " + name output = name + " [" + paramsStr + "]"
} }
return output return output