aboutsummaryrefslogtreecommitdiff
path: root/src/server/symbol.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-07 21:24:33 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-07 21:38:30 -0400
commit19ee061feef6f74b54a4ca5e36a8e3711907935b (patch)
tree0f9649a1bc288959f14da6712cff65274fc63d06 /src/server/symbol.odin
parent7d334f6c9fff565b5d51c30e13db810f466e6241 (diff)
Distinguish between variables and types when parsing globals
Diffstat (limited to 'src/server/symbol.odin')
-rw-r--r--src/server/symbol.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin
index 2090f3b..9e220c5 100644
--- a/src/server/symbol.odin
+++ b/src/server/symbol.odin
@@ -194,7 +194,8 @@ SymbolFlag :: enum {
PrivateFile,
PrivatePackage,
Anonymous, //Usually applied to structs that are defined inline inside another struct
- Variable, //Symbols that are variable, this means their value decl was mutable
+ Variable, // or type
+ Mutable, // or constant
Local,
ObjC,
ObjCIsClassMethod, // should be set true only when ObjC is enabled