diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2020-12-03 23:32:00 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2020-12-03 23:32:00 +0100 |
| commit | bee936f0bedbd4a471425df8a3d195ac80b9d73e (patch) | |
| tree | 85c0a3acde67bf2e6e7a6c7fafef7495fb74a3fb /src/common | |
| parent | 35570e8b2b093e3da582d04c17c321f1c608edbd (diff) | |
more semantic + type resolving work
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/ast.odin | 3 |
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]); |