Support anonymous nested structs.

Also fix up assignment of pointer fields.