Commit b030302c by William Bundy

rituals build 132

parent 7684266b
git add --all
git commit -m "rituals build 131"
git commit -m "rituals build 132"
git push
git push github
130
1475279299.265098
131
1475279366.154686
......@@ -171,7 +171,7 @@ int main(int argc, char** argv)
if(type_head == NULL) {
type_head = get_types_in_struct(s_head, type_start, Work_Arena);
} else {
type_head = get_types_in_struct(s_head, type_head->next, Work_Arena);
type_head = get_types_in_struct(s_head, type_head, Work_Arena);
}
} while(s_head = s_head->next);
......
......@@ -1349,14 +1349,12 @@ void populate_meta_type(Struct_Member* member, Struct_Kind kind, Struct_Def* par
Meta_Type* get_types_in_struct(Struct_Def* def, Meta_Type* head, Memory_Arena* arena)
{
Meta_Type* last = head;
for(isize i = 0; i < def->member_count; ++i) {
populate_meta_type(def->members + i, def->member_kinds[i], def, head);
head->next = arena_push_struct(arena, Meta_Type);
last = head;
head = head->next;
}
return last;
return head;
}
enum Meta_Flags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment