Branch Statements, if init statement, File parsing errors

This commit is contained in:
gingerBill
2016-07-24 22:06:58 +01:00
parent 3fe7fc344d
commit 9d8355d361
9 changed files with 378 additions and 138 deletions
+2 -1
View File
@@ -104,8 +104,9 @@ struct Type {
};
Type *get_base_type(Type *t) {
while (t->kind == Type_Named)
while (t->kind == Type_Named) {
t = t->named.base;
}
return t;
}