aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-26 20:14:30 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-26 20:18:19 -0400
commit1946db6d83d39b59cf9f20a3bca4fe24d71084c9 (patch)
treeb52c916214910c405bc527a202b8794ce583778f /src/server
parente211cdcdb8f6ab65fffb24552b89956c06f150cb (diff)
Free field comments and docs
Diffstat (limited to 'src/server')
-rw-r--r--src/server/ast.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ast.odin b/src/server/ast.odin
index 57cd704..a07f69d 100644
--- a/src/server/ast.odin
+++ b/src/server/ast.odin
@@ -743,8 +743,8 @@ free_ast_node :: proc(node: ^ast.Node, allocator: mem.Allocator) {
free_ast(n.names, allocator)
free_ast(n.type, allocator)
free_ast(n.default_value, allocator)
- //free_ast(n.docs);
- //free_ast(n.comment);
+ free_ast_comment(n.docs, allocator);
+ free_ast_comment(n.comment, allocator);
case ^Field_List:
free_ast(n.list, allocator)
case ^Typeid_Type: