diff --git a/backend_wat.go b/backend_wat.go index d275b16..ca38273 100644 --- a/backend_wat.go +++ b/backend_wat.go @@ -356,7 +356,7 @@ func compileFunctionWAT(function ParsedFunction) (string, error) { funcWAT += wat - return funcWAT + ") (export \"" + function.Name + "\" (func $" + function.Name + "))", nil + return funcWAT + ") (export \"" + function.Name + "\" (func $" + function.Name + "))\n", nil } func backendWAT(file ParsedFile) (string, error) {