From 47b3c3b2c0433fdf6c0c2f54fbd9b247bbb0228f Mon Sep 17 00:00:00 2001 From: MrLetsplay Date: Thu, 21 Mar 2024 13:27:58 +0100 Subject: [PATCH] Add \n --- backend_wat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {