Commit 2d7eecbb authored by Ken Thompson's avatar Ken Thompson

bug in offsets in imported struct fields

SVN=126591
parent e4a1fb7e
......@@ -564,6 +564,7 @@ doimport4(Node *ss, Node *n)
t = typ(TSTRUCT);
importstotype(n, &t->type, t);
dowidth(t);
importaddtyp(ss, t);
}
......@@ -619,6 +620,7 @@ doimport7(Node *ss, Node *n)
t = typ(TINTER);
importstotype(n, &t->type, t);
dowidth(t);
importaddtyp(ss, t);
}
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