1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-09 13:25:06 +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:
cuz
2000-11-02 22:11:48 +00:00
parent 18840117ec
commit 0dce6a79b6
3 changed files with 23 additions and 23 deletions

View File

@@ -45,7 +45,7 @@
/* Forward declaration for struct SymEntry */
typedef struct SymEntry_ SymEntry;
typedef struct SymEntry SymEntry;

View File

@@ -83,17 +83,17 @@
#define SF_DBGINFOVAL (SF_DEFINED)
/* Structure of a symbol table entry */
struct SymEntry_ {
struct SymEntry {
SymEntry* Left; /* Lexically smaller entry */
SymEntry* Right; /* Lexically larger entry */
SymEntry* List; /* List of all entries */
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 */
unsigned Flags; /* Symbol flags */
unsigned Index; /* Index of import/export entries */
union {
struct ExprNode_* Expr; /* Expression if CONST not set */
struct ExprNode* Expr; /* Expression if CONST not set */
long Val; /* Value (if CONST set) */
SymEntry* Sym; /* Symbol (if trampoline entry) */
} V;
@@ -106,8 +106,8 @@ struct SymEntry_ {
/* Definitions for the hash table */
#define MAIN_HASHTAB_SIZE 213
#define SUB_HASHTAB_SIZE 53
typedef struct SymTable_ SymTable;
struct SymTable_ {
typedef struct SymTable SymTable;
struct SymTable {
unsigned TableSlots; /* Number of hash table slots */
unsigned TableEntries; /* Number of entries in the table */
SymTable* BackLink; /* Link to enclosing scope if any */

View File

@@ -99,18 +99,18 @@
/* The expression node itself */
typedef struct ExprNode_ ExprNode;
struct ExprNode_ {
typedef struct ExprNode ExprNode;
struct ExprNode {
unsigned char Op; /* Operand/Type */
ExprNode* Left; /* Left leaf */
ExprNode* Right; /* Right leaf */
struct ObjData_* Obj; /* Object file reference (linker) */
struct ObjData* Obj; /* Object file reference (linker) */
union {
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 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;
};