diff options
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | parse.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,9 +1,9 @@ /* TODO: -blocks which return tuples new run-time type resolution unicode variable names make sure initializers for global variables are compile-time constants +structs don't allow while {3; 5} (once break is added) any odd number of "s for a string modifiable strings: @@ -318,7 +318,7 @@ static bool parse_type(Parser *p, Type *type) { { int b = kw_to_builtin_type(t->token->kw); if (b != -1) { - type->builtin = b; + type->builtin = (BuiltinType)b; t->token++; break; } |