aboutsummaryrefslogtreecommitdiff
path: root/src/server/symbol.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-17 19:20:48 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-21 08:55:41 -0400
commita498379ca16e1e0fc344c654a7e24710f8be77b6 (patch)
tree2f76bcce5da9cbb02c8f3413551678b7210e1336 /src/server/symbol.odin
parenta79efd27be8e6951aaa5b7e4bd785121e857c32c (diff)
Try to display value for const global variables
Diffstat (limited to 'src/server/symbol.odin')
-rw-r--r--src/server/symbol.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin
index dac9e7d..4e6b19f 100644
--- a/src/server/symbol.odin
+++ b/src/server/symbol.odin
@@ -225,6 +225,8 @@ Symbol :: struct {
value: SymbolValue,
pointers: int, //how many `^` are applied to the symbol
flags: SymbolFlags,
+ type_expr: ^ast.Expr,
+ value_expr: ^ast.Expr,
}
SymbolType :: enum {