aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-11-08 17:04:18 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2021-11-08 17:04:18 +0100
commitcffae3a5e4550ce4fe4e2c3ac6469550a052ca3e (patch)
tree780c395982be688c3710ca173a93fdb7308a57be /src/common
parentf574d42ac0e8dffc63fd50b87b338dcac46f11e8 (diff)
Fix generic error where '0' was inferred as boolean rather than integer.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/ast.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/ast.odin b/src/common/ast.odin
index 21d6665..3f857cf 100644
--- a/src/common/ast.odin
+++ b/src/common/ast.odin
@@ -17,6 +17,8 @@ keyword_map: map[string]bool = {
"f64" = true,
"i64" = true,
"i32" = true,
+ "i16" = true,
+ "u16" = true,
"bool" = true,
"rawptr" = true,
"any" = true,