From eaaf909f395f6ae1e7ff15fc77699c938766faa9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 23 Feb 2016 02:12:24 -0500 Subject: eshtrans/backend: Delimit func start/end calls with ";" --- (limited to 'eshtrans') 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 -- cgit v0.9.1