summaryrefslogtreecommitdiffstats
path: root/eshtrans/backend
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-23 03:13:11 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-23 03:13:11 (EST)
commit8213d2db3a7838d3ed4d81bc37475db87bba247f (patch)
treea271df232cd9a76bcb032d0b8a1dc367e5dff64f /eshtrans/backend
parentc76670bec52c29dcd38c85dc136bda9c89cf4f8d (diff)
downloadeggshell-8213d2db3a7838d3ed4d81bc37475db87bba247f.zip
eggshell-8213d2db3a7838d3ed4d81bc37475db87bba247f.tar.gz
eggshell-8213d2db3a7838d3ed4d81bc37475db87bba247f.tar.bz2
eshtrans/backend: Add static var values array initialization
Diffstat (limited to 'eshtrans/backend')
-rw-r--r--eshtrans/backend/codegen.esh1
1 files changed, 1 insertions, 0 deletions
diff --git a/eshtrans/backend/codegen.esh b/eshtrans/backend/codegen.esh
index 84de14f..247618f 100644
--- a/eshtrans/backend/codegen.esh
+++ b/eshtrans/backend/codegen.esh
@@ -199,6 +199,7 @@ sh_start_tu()
{
printf '__tu=%s\n' "${tu_id}"
printf '__%s_static_vars=\n' "${tu_id}"
+ printf '__%s_static_var_vals=\n' "${tu_id}"
printf '__%s_static_fns=\n' "${tu_id}"
static_fn_n=0
}