summaryrefslogtreecommitdiffstats
path: root/eshtrans
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans')
-rw-r--r--eshtrans/backend/codegen.esh4
1 files changed, 2 insertions, 2 deletions
diff --git a/eshtrans/backend/codegen.esh b/eshtrans/backend/codegen.esh
index 49b44fd..9ba6c3f 100644
--- a/eshtrans/backend/codegen.esh
+++ b/eshtrans/backend/codegen.esh
@@ -106,10 +106,10 @@ codegen_sub()
# Function start/end tokens
case "${t%${US}*}" in
T_FN_START)
- printf '__fn_start %s\n' "${fname#*${US}}"
+ printf '__fn_start %s;' "${fname#*${US}}"
;;
T_FN_END|T_RETURN)
- printf '__fn_end\n'
+ printf '__fn_end;'
;;
esac