aboutsummaryrefslogtreecommitdiff
path: root/src/server/documentation.odin
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-07-31 22:11:52 +0200
committerGitHub <noreply@github.com>2025-07-31 22:11:52 +0200
commit2d72faebe069f32f98c10382da8f09eb1d8d7445 (patch)
tree1b746a3414195d880712fc29a2fb4072eeb94d3a /src/server/documentation.odin
parent9cfe56a78b45546dd569f3604d41ff9db60a3fa0 (diff)
parent27e2caa6363f9afa6910930fbaf4c00aa67dfbfb (diff)
Merge pull request #807 from BradLewis/feat/builtin-proc-improvements
Improve builtin proc resolution, complex and quaternion procs and add missing basic type keywords
Diffstat (limited to 'src/server/documentation.odin')
-rw-r--r--src/server/documentation.odin26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/server/documentation.odin b/src/server/documentation.odin
index 4e1cf9f..7dbf5d9 100644
--- a/src/server/documentation.odin
+++ b/src/server/documentation.odin
@@ -8,23 +8,27 @@ import path "core:path/slashpath"
import "core:strings"
keywords_docs: map[string]bool = {
- "int" = true,
- "uint" = true,
+ "typeid" = true,
"string" = true,
"cstring" = true,
+ "int" = true,
+ "uint" = true,
+ "u8" = true,
+ "i8" = true,
+ "u16" = true,
+ "i16" = true,
+ "u32" = true,
+ "i32" = true,
"u64" = true,
- "f32" = true,
- "f64" = true,
"i64" = true,
+ "u128" = true,
"i128" = true,
- "i32" = true,
- "i16" = true,
- "u16" = true,
+ "f16" = true,
+ "f32" = true,
+ "f64" = true,
"bool" = true,
"rawptr" = true,
"any" = true,
- "u32" = true,
- "u128" = true,
"b8" = true,
"b16" = true,
"b32" = true,
@@ -33,8 +37,6 @@ keywords_docs: map[string]bool = {
"false" = true,
"nil" = true,
"byte" = true,
- "u8" = true,
- "i8" = true,
"rune" = true,
"f16be" = true,
"f16le" = true,
@@ -683,7 +685,7 @@ concatenate_raw_symbol_information :: proc(ast_context: ^AstContext, symbol: Sym
if symbol.signature != "" {
fmt.sbprintf(&sb, ": %v", symbol.signature)
}
- return strings.to_string(sb)
+ return strings.to_string(sb)
}
return concatenate_raw_string_information(