aboutsummaryrefslogtreecommitdiff
path: root/src/server/ast.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-11-13 04:05:46 -0500
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-11-13 04:16:47 -0500
commitd806b5fe037de83a21d5a68d3e8f71a4b13d4b37 (patch)
tree6b4e408487934eaf2cdd2ca95234346defbd82d4 /src/server/ast.odin
parentb2efc8f7789d2e51259d8d37da7bf59182b185fc (diff)
Add docs for local value decls
Diffstat (limited to 'src/server/ast.odin')
-rw-r--r--src/server/ast.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ast.odin b/src/server/ast.odin
index 5d06eb2..c6966fa 100644
--- a/src/server/ast.odin
+++ b/src/server/ast.odin
@@ -564,7 +564,7 @@ get_ast_node_string :: proc(node: ^ast.Node, src: string) -> string {
return string(src[node.pos.offset:node.end.offset])
}
-get_doc :: proc(node: ^ast.Expr, comment: ^ast.Comment_Group, allocator: mem.Allocator) -> string {
+get_doc :: proc(comment: ^ast.Comment_Group, allocator: mem.Allocator) -> string {
if comment == nil {
return ""
}