Fixed a few bugs

This commit is contained in:
ceriel
1990-10-31 15:56:51 +00:00
parent 162c1c81e9
commit 9aee9cb62f
7 changed files with 48 additions and 12 deletions

View File

@@ -350,6 +350,7 @@ resolve_cross(tp)
sym->sy_type->ty_size == tp->ty_class &&
scope_encloses(tp->ty_sym->sy_scope, sym->sy_scope)) {
sym->sy_type->ty_cross = tp;
sym->sy_type->ty_size = tp->ty_size;
}
sym = sym->sy_next;
}