summaryrefslogtreecommitdiffstats
path: root/eshtrans
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-23 02:29:10 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-23 02:29:10 (EST)
commite8e9c63da99311dad2219454eb30a0eda9711a56 (patch)
tree569d60c332b00aef3821dffd6762515a564b53c3 /eshtrans
parent0bb79bed297455a05c8ff64a1473bacd00bc2bfd (diff)
downloadeggshell-e8e9c63da99311dad2219454eb30a0eda9711a56.zip
eggshell-e8e9c63da99311dad2219454eb30a0eda9711a56.tar.gz
eggshell-e8e9c63da99311dad2219454eb30a0eda9711a56.tar.bz2
eshtrans/frontend: Inject ";" before __fn_end() call
Diffstat (limited to 'eshtrans')
-rw-r--r--eshtrans/frontend/parser.esh1
1 files changed, 1 insertions, 0 deletions
diff --git a/eshtrans/frontend/parser.esh b/eshtrans/frontend/parser.esh
index d18abee..ee02eca 100644
--- a/eshtrans/frontend/parser.esh
+++ b/eshtrans/frontend/parser.esh
@@ -367,6 +367,7 @@ function_body()
inject T_LBRACE
inject T_FN_START
if compound_command; then
+ inject T_SEMI
inject T_FN_END
inject T_RBRACE
ptrace_pass function_body