diff options
| author | Kyle Gunger <kgunger12@gmail.com> | 2024-02-29 13:44:57 -0500 |
|---|---|---|
| committer | Kyle Gunger <kgunger12@gmail.com> | 2024-02-29 13:44:57 -0500 |
| commit | 577e8a4a9424dcc76694effab07963c696d6ce37 (patch) | |
| tree | 292eb1bf46305ff4602ddf14e466eb73a101262d | |
| parent | fd8921c68ba083fb47c628874b12253e00569fd0 (diff) | |
mod error for literals
| -rw-r--r-- | compiler.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |