diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-07 11:56:37 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-07 11:56:37 -0400 |
| commit | 1c4a7bc3544d355bcd041a0673758bbf072a55f9 (patch) | |
| tree | 2f864e545254acbbbdf8f8c567cc8731cdfcc947 /src/server/symbol.odin | |
| parent | f9c23d7ec2841d8580fb55acd4fb26aaae8d605b (diff) | |
Remove incorrectly added doc comments from symbols
Diffstat (limited to 'src/server/symbol.odin')
| -rw-r--r-- | src/server/symbol.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin index a41a310..147626b 100644 --- a/src/server/symbol.odin +++ b/src/server/symbol.odin @@ -787,7 +787,7 @@ construct_struct_field_symbol :: proc(symbol: ^Symbol, parent_name: string, valu symbol.name = value.names[index] symbol.pkg = parent_name symbol.type = .Field - symbol.doc = get_doc(value.docs[index], context.temp_allocator) + symbol.doc = get_doc(value.types[index], value.docs[index], context.temp_allocator) symbol.comment = get_comment(value.comments[index]) } @@ -797,14 +797,14 @@ construct_bit_field_field_symbol :: proc(symbol: ^Symbol, parent_name: string, v symbol.name = value.names[index] symbol.pkg = parent_name symbol.type = .Field - symbol.doc = get_doc(value.docs[index], context.temp_allocator) + symbol.doc = get_doc(value.types[index], value.docs[index], context.temp_allocator) symbol.comment = get_comment(value.comments[index]) symbol.signature = get_bit_field_field_signature(value, index) } construct_enum_field_symbol :: proc(symbol: ^Symbol, value: SymbolEnumValue, index: int) { symbol.type = .Field - symbol.doc = get_doc(value.docs[index], context.temp_allocator) + symbol.doc = get_doc(nil, value.docs[index], context.temp_allocator) symbol.comment = get_comment(value.comments[index]) symbol.signature = get_enum_field_signature(value, index) } |