mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 19:32:23 -07:00
Branch Statements, if init statement, File parsing errors
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user