mirror of
https://github.com/cc65/cc65.git
synced 2025-02-21 20:29:17 +00:00
Removed underlines from struct names
git-svn-id: svn://svn.cc65.org/cc65/trunk@431 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
18840117ec
commit
0dce6a79b6
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Forward declaration for struct SymEntry */
|
/* Forward declaration for struct SymEntry */
|
||||||
typedef struct SymEntry_ SymEntry;
|
typedef struct SymEntry SymEntry;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -83,17 +83,17 @@
|
|||||||
#define SF_DBGINFOVAL (SF_DEFINED)
|
#define SF_DBGINFOVAL (SF_DEFINED)
|
||||||
|
|
||||||
/* Structure of a symbol table entry */
|
/* Structure of a symbol table entry */
|
||||||
struct SymEntry_ {
|
struct SymEntry {
|
||||||
SymEntry* Left; /* Lexically smaller entry */
|
SymEntry* Left; /* Lexically smaller entry */
|
||||||
SymEntry* Right; /* Lexically larger entry */
|
SymEntry* Right; /* Lexically larger entry */
|
||||||
SymEntry* List; /* List of all entries */
|
SymEntry* List; /* List of all entries */
|
||||||
SymEntry* Locals; /* Root of subtree for local symbols */
|
SymEntry* Locals; /* Root of subtree for local symbols */
|
||||||
struct SymTable_* SymTab; /* Table this symbol is in, 0 for locals */
|
struct SymTable* SymTab; /* Table this symbol is in, 0 for locals */
|
||||||
FilePos Pos; /* File position for this symbol */
|
FilePos Pos; /* File position for this symbol */
|
||||||
unsigned Flags; /* Symbol flags */
|
unsigned Flags; /* Symbol flags */
|
||||||
unsigned Index; /* Index of import/export entries */
|
unsigned Index; /* Index of import/export entries */
|
||||||
union {
|
union {
|
||||||
struct ExprNode_* Expr; /* Expression if CONST not set */
|
struct ExprNode* Expr; /* Expression if CONST not set */
|
||||||
long Val; /* Value (if CONST set) */
|
long Val; /* Value (if CONST set) */
|
||||||
SymEntry* Sym; /* Symbol (if trampoline entry) */
|
SymEntry* Sym; /* Symbol (if trampoline entry) */
|
||||||
} V;
|
} V;
|
||||||
@ -106,8 +106,8 @@ struct SymEntry_ {
|
|||||||
/* Definitions for the hash table */
|
/* Definitions for the hash table */
|
||||||
#define MAIN_HASHTAB_SIZE 213
|
#define MAIN_HASHTAB_SIZE 213
|
||||||
#define SUB_HASHTAB_SIZE 53
|
#define SUB_HASHTAB_SIZE 53
|
||||||
typedef struct SymTable_ SymTable;
|
typedef struct SymTable SymTable;
|
||||||
struct SymTable_ {
|
struct SymTable {
|
||||||
unsigned TableSlots; /* Number of hash table slots */
|
unsigned TableSlots; /* Number of hash table slots */
|
||||||
unsigned TableEntries; /* Number of entries in the table */
|
unsigned TableEntries; /* Number of entries in the table */
|
||||||
SymTable* BackLink; /* Link to enclosing scope if any */
|
SymTable* BackLink; /* Link to enclosing scope if any */
|
||||||
|
@ -99,18 +99,18 @@
|
|||||||
|
|
||||||
|
|
||||||
/* The expression node itself */
|
/* The expression node itself */
|
||||||
typedef struct ExprNode_ ExprNode;
|
typedef struct ExprNode ExprNode;
|
||||||
struct ExprNode_ {
|
struct ExprNode {
|
||||||
unsigned char Op; /* Operand/Type */
|
unsigned char Op; /* Operand/Type */
|
||||||
ExprNode* Left; /* Left leaf */
|
ExprNode* Left; /* Left leaf */
|
||||||
ExprNode* Right; /* Right leaf */
|
ExprNode* Right; /* Right leaf */
|
||||||
struct ObjData_* Obj; /* Object file reference (linker) */
|
struct ObjData* Obj; /* Object file reference (linker) */
|
||||||
union {
|
union {
|
||||||
long Val; /* If this is a value */
|
long Val; /* If this is a value */
|
||||||
struct SymEntry_* Sym; /* If this is a symbol */
|
struct SymEntry* Sym; /* If this is a symbol */
|
||||||
unsigned SegNum; /* If this is a segment */
|
unsigned SegNum; /* If this is a segment */
|
||||||
unsigned ImpNum; /* If this is an import */
|
unsigned ImpNum; /* If this is an import */
|
||||||
struct Memory_* MemArea; /* If this is a memory area */
|
struct Memory* MemArea; /* If this is a memory area */
|
||||||
} V;
|
} V;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user