summaryrefslogtreecommitdiffstats
path: root/eshtrans/backend
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans/backend')
-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))
}