hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-12 11:41:05 +0200
committerhachem <im@hachem.wtf>2026-10-12 11:41:05 +0200
commit62636576bce8e8121a3d70f63547fae40a52f697 (patch)
tree077dfe4f04235cce63b7abb1b05bb539232ae74a /src/ast.c
parentc0f000ea166a24781fcdbf23c080b203cd9b8ed7 (diff)
chore: refactor
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ast.c b/src/ast.c
index b613abe..4480b56 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -149,7 +149,6 @@ void free_program(struct Program* program)
program->proc_capacity = 0;
}
-// TODO: generalize this growable-array boilerplate once a third list appears
void add_const(struct Program* program, struct ConstDecl decl)
{
if (program->const_count == program->const_capacity)