mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Rename Width to BitWidth.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4073 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
bd872a6324
commit
7ced0a2ceb
@ -135,7 +135,7 @@ struct SymEntry {
|
||||
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 */
|
||||
|
@ -593,10 +593,10 @@ SymEntry* AddBitField (const char* Name, unsigned Offs, unsigned BitOffs, unsign
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user