summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-23 02:21:06 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-23 02:21:06 (EST)
commit8c504e36660e2f3922e310a62d5c8fc09fd11fd1 (patch)
treeefa30e77ab9342e5e56420e5a97e961f5a5c2c70
parenta90d2095819a6926ba4f6f2f1bd2a65fb3873396 (diff)
downloadeggshell-8c504e36660e2f3922e310a62d5c8fc09fd11fd1.zip
eggshell-8c504e36660e2f3922e310a62d5c8fc09fd11fd1.tar.gz
eggshell-8c504e36660e2f3922e310a62d5c8fc09fd11fd1.tar.bz2
eshtrans/backend: Adjust whitespace after __fn_end
-rw-r--r--eshtrans/backend/codegen.esh5
1 files changed, 4 insertions, 1 deletions
diff --git a/eshtrans/backend/codegen.esh b/eshtrans/backend/codegen.esh
index 9ceb3e2..6dc3d64 100644
--- a/eshtrans/backend/codegen.esh
+++ b/eshtrans/backend/codegen.esh
@@ -109,7 +109,10 @@ codegen_sub()
printf '__fn_start %s %s;' \
"${tu_id}" "${fname#*${US}}"
;;
- T_FN_END|T_RETURN)
+ T_FN_END)
+ printf '__fn_end;'
+ ;;
+ T_RETURN)
printf '__fn_end; '
;;
esac