diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-18 11:21:42 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-18 11:21:42 -0400 |
commit | 19fbfe432de43b2aece74f8014c217c7de6cb655 (patch) | |
tree | fc46b15724d015f45d80828abc294a2c7a565929 | |
parent | ea40420c8dbf784f764956926af1e3d408afc185 (diff) |
small correction
-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; } |