mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 12:00:25 +00:00
Fixed unary function compile.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user