diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-30 08:21:53 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-30 08:21:53 -0400 |
| commit | 061d866edf89bbc8314c9ea4452a5feae17d445a (patch) | |
| tree | 683893de70e878029cc55e01b02c1acf6b64791c /src/server/documentation.odin | |
| parent | 58b9260ab648539bee0c78b7e53861b40d1d6ce8 (diff) | |
Fix issues due to merge
Diffstat (limited to 'src/server/documentation.odin')
| -rw-r--r-- | src/server/documentation.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/documentation.odin b/src/server/documentation.odin index 59d813d..17d0204 100644 --- a/src/server/documentation.odin +++ b/src/server/documentation.odin @@ -117,7 +117,7 @@ build_documentation :: proc(ast_context: ^AstContext, symbol: ^Symbol, short_sig return } - symbol.doc = construct_symbol_docs(symbol, allocator = ast_context.allocator) + symbol.doc = construct_symbol_docs(symbol^, allocator = ast_context.allocator) } // Adds signature and docs information for a bit field field @@ -125,10 +125,10 @@ build_bit_field_field_documentation :: proc( symbol: ^Symbol, value: SymbolBitFieldValue, index: int, allocator := context.temp_allocator ) { symbol.signature = get_bit_field_field_signature(value, index, allocator) - symbol.doc = construct_symbol_docs(symbol) + symbol.doc = construct_symbol_docs(symbol^) } -construct_symbol_docs :: proc(symbol: ^Symbol, allocator := context.temp_allocator) -> string { +construct_symbol_docs :: proc(symbol: Symbol, allocator := context.temp_allocator) -> string { sb := strings.builder_make(allocator = allocator) if symbol.doc != "" { strings.write_string(&sb, symbol.doc) |