aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/ast.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/ast.odin b/src/common/ast.odin
index ef98acb..3126847 100644
--- a/src/common/ast.odin
+++ b/src/common/ast.odin
@@ -17,7 +17,8 @@ keyword_map : map [string] bool =
"any" = true,
"u32" = true,
"true" = true,
- "false" = true};
+ "false" = true,
+ "nil" = true};
get_ast_node_string :: proc(node: ^ast.Node, src: [] byte) -> string {
return string(src[node.pos.offset:node.end.offset]);