Compound Literals - struct, array, slice, vector

This commit is contained in:
gingerBill committed 2016-08-12 17:21:34 +01:00
1 parent 84f2bcd885
commit c10b46af9f
9 files changed
+356 -87

No files matched your search

+2 -1
View File
@@ -60,7 +60,8 @@ void ssa_gen_code(ssaGen *s) {
switch (e->kind) {
case Entity_TypeName: {
ssaValue *t = ssa_make_value_type_name(a, e);
ssaValue *t = ssa_make_value_type_name(a, e->token.string, e->type);
map_set(&m->values, hash_pointer(e), t);
map_set(&m->members, hash_string(name), t);
} break;