aboutsummaryrefslogtreecommitdiff
path: root/src/server/symbol.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/symbol.odin
parentb2efc8f7789d2e51259d8d37da7bf59182b185fc (diff)
Add docs for local value decls
Diffstat (limited to 'src/server/symbol.odin')
-rw-r--r--src/server/symbol.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin
index d10178d..b6239da 100644
--- a/src/server/symbol.odin
+++ b/src/server/symbol.odin
@@ -907,7 +907,7 @@ construct_struct_field_symbol :: proc(symbol: ^Symbol, parent_name: string, valu
symbol.name = value.names[index]
symbol.type = .Field
symbol.parent_name = parent_name
- symbol.doc = get_doc(value.types[index], value.docs[index], context.temp_allocator)
+ symbol.doc = get_doc(value.docs[index], context.temp_allocator)
symbol.comment = get_comment(value.comments[index])
symbol.range = value.ranges[index]
}
@@ -921,7 +921,7 @@ construct_bit_field_field_symbol :: proc(
symbol.name = value.names[index]
symbol.parent_name = parent_name
symbol.type = .Field
- symbol.doc = get_doc(value.types[index], value.docs[index], context.temp_allocator)
+ symbol.doc = get_doc(value.docs[index], context.temp_allocator)
symbol.comment = get_comment(value.comments[index])
symbol.signature = get_bit_field_field_signature(value, index)
symbol.range = value.ranges[index]
@@ -929,7 +929,7 @@ construct_bit_field_field_symbol :: proc(
construct_enum_field_symbol :: proc(symbol: ^Symbol, value: SymbolEnumValue, index: int) {
symbol.type = .Field
- symbol.doc = get_doc(nil, value.docs[index], context.temp_allocator)
+ symbol.doc = get_doc(value.docs[index], context.temp_allocator)
symbol.comment = get_comment(value.comments[index])
symbol.signature = get_enum_field_signature(value, index)
symbol.range = value.ranges[index]