struct {
unsigned Offs; /* Byte offset into struct */
unsigned BitOffs; /* Bit offset into last byte */
- unsigned Width; /* Width in bits */
+ unsigned BitWidth; /* Width in bits */
} B;
/* Data for functions */
Entry = NewSymEntry (Name, SC_BITFIELD);
/* Set the symbol attributes. Bit-fields are always of type unsigned */
- Entry->Type = type_uint;
- Entry->V.B.Offs = Offs;
- Entry->V.B.BitOffs = BitOffs;
- Entry->V.B.Width = Width;
+ Entry->Type = type_uint;
+ Entry->V.B.Offs = Offs;
+ Entry->V.B.BitOffs = BitOffs;
+ Entry->V.B.BitWidth = Width;
/* Add the entry to the symbol table */
AddSymEntry (SymTab, Entry);