summaryrefslogtreecommitdiff
path: root/compiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.c')
-rw-r--r--compiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler.c b/compiler.c
index bccf0e3..05089bb 100644
--- a/compiler.c
+++ b/compiler.c
@@ -4099,6 +4099,7 @@ Variable _eval_literal(Scope *s, CompData *data, Vector *tokens, size_t literal)
var_end(&out);
out = var_init(label, typ_get_inbuilt("uint8"));
+ out.mod = s->current;
out.location = LOC_DATA;
free(label);
int arr_t = str_dat.count;