mirror of
https://github.com/cc65/cc65.git
synced 2025-02-04 13:32:54 +00:00
AddBitField: Rename Width arg to BitWidth
This makes the arg consistent with the SymEntry field name.
This commit is contained in:
parent
4afc552e17
commit
1c2edc5434
@ -597,7 +597,7 @@ SymEntry* AddStructSym (const char* Name, unsigned Type, unsigned Size, SymTable
|
||||
|
||||
|
||||
|
||||
SymEntry* AddBitField (const char* Name, unsigned Offs, unsigned BitOffs, unsigned Width)
|
||||
SymEntry* AddBitField (const char* Name, unsigned Offs, unsigned BitOffs, unsigned BitWidth)
|
||||
/* Add a bit field to the local symbol table and return the symbol entry */
|
||||
{
|
||||
/* Do we have an entry with this name already? */
|
||||
@ -616,7 +616,7 @@ SymEntry* AddBitField (const char* Name, unsigned Offs, unsigned BitOffs, unsign
|
||||
Entry->Type = type_uint;
|
||||
Entry->V.B.Offs = Offs;
|
||||
Entry->V.B.BitOffs = BitOffs;
|
||||
Entry->V.B.BitWidth = Width;
|
||||
Entry->V.B.BitWidth = BitWidth;
|
||||
|
||||
/* Add the entry to the symbol table */
|
||||
AddSymEntry (SymTab, Entry);
|
||||
|
@ -149,7 +149,7 @@ unsigned short FindSPAdjustment (const char* Name);
|
||||
SymEntry* AddStructSym (const char* Name, unsigned Type, unsigned Size, SymTable* Tab);
|
||||
/* Add a struct/union entry and return it */
|
||||
|
||||
SymEntry* AddBitField (const char* Name, unsigned Offs, unsigned BitOffs, unsigned Width);
|
||||
SymEntry* AddBitField (const char* Name, unsigned Offs, unsigned BitOffs, unsigned BitWidth);
|
||||
/* Add a bit field to the local symbol table and return the symbol entry */
|
||||
|
||||
SymEntry* AddConstSym (const char* Name, const Type* T, unsigned Flags, long Val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user