aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-28 15:22:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-28 15:22:19 +0200
commit22c735178dc4126295e9ce376661bf2b38d3af0f (patch)
treeadd1772332f375a9d87d27c20cc0d93772236e89
parent545f8ebebba5f3e78351b0074948c08cbfd9f418 (diff)
Remove TODO
-rw-r--r--src/codegen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 71a8e1d..2f07442 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -427,7 +427,6 @@ codegendecl(struct cgctx ctx, idx_t i)
/* Non-static, non-undef, mutable */
LLVMValueRef var, val;
- /* TODO: Namespace the name */
strview_t sv = ctx.toks.strs[ctx.ast.lexemes[i]];
var = symtab_insert(&ctx.scps[ctx.scpi].map, sv, NULL)->v;
if (p.rhs == AST_EMPTY) {