summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-23 02:38:34 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-23 02:38:34 (EST)
commitcb1d1fd299c275f40a064c7bf8c5b2439def6118 (patch)
tree6a0ea1485235ddd20c48fe15fb70786178b6b3e7
parente8e9c63da99311dad2219454eb30a0eda9711a56 (diff)
downloadeggshell-cb1d1fd299c275f40a064c7bf8c5b2439def6118.zip
eggshell-cb1d1fd299c275f40a064c7bf8c5b2439def6118.tar.gz
eggshell-cb1d1fd299c275f40a064c7bf8c5b2439def6118.tar.bz2
eshtrans/backend: Fix names in static function arrays
-rw-r--r--eshtrans/backend/codegen.esh2
1 files changed, 1 insertions, 1 deletions
diff --git a/eshtrans/backend/codegen.esh b/eshtrans/backend/codegen.esh
index 6f52c80..84de14f 100644
--- a/eshtrans/backend/codegen.esh
+++ b/eshtrans/backend/codegen.esh
@@ -33,7 +33,7 @@ add_static_fn()
local fn="${1}"
printf '__%s_static_fns="${__%s_static_fns} %s:__%s_fn%d"\n' \
- "${tu_id}" "${tu_id}" "${fn}" ${static_fn_n}
+ "${tu_id}" "${tu_id}" "${fn}" "${tu_id}" ${static_fn_n}
printf '__%s_fn%d' "${tu_id}" ${static_fn_n}
static_fn_n=$((${static_fn_n} + 1))
}