aboutsummaryrefslogtreecommitdiff
path: root/src/server/documentation.odin
diff options
context:
space:
mode:
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 6518006..ee52cb4 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,
@@ -693,7 +695,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(