aboutsummaryrefslogtreecommitdiff
path: root/src/server/ast.odin
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2025-11-13 04:20:00 -0500
committerGitHub <noreply@github.com>2025-11-13 04:20:00 -0500
commite0eef3b822ec04033d67b2e59b0ad4eb1f4de3f2 (patch)
tree6b4e408487934eaf2cdd2ca95234346defbd82d4 /src/server/ast.odin
parentb2efc8f7789d2e51259d8d37da7bf59182b185fc (diff)
parentd806b5fe037de83a21d5a68d3e8f71a4b13d4b37 (diff)
Merge pull request #1174 from BradLewis/fix/local-variables-docs
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 ""
}