Better handling of imports in the ExprNode structure.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4841 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-11-09 20:34:08 +00:00
parent da792b3fd0
commit c9b9069208
2 changed files with 19 additions and 12 deletions

View File

@@ -109,11 +109,12 @@ struct ExprNode {
union {
long IVal; /* If this is a int value */
struct SymEntry* Sym; /* If this is a symbol */
unsigned SegNum; /* If this is a segment */
struct Import* Imp; /* If this is an import */
unsigned SecNum; /* If this is a section and Obj != 0 */
unsigned ImpNum; /* If this is an import and Obj != 0 */
struct Import* Imp; /* If this is an import and Obj == 0 */
struct MemoryArea* Mem; /* If this is a memory area */
struct Segment* Seg; /* If this is a segment */
struct Section* Sec; /* If section and Obj is NULL */
struct Section* Sec; /* If this is a section and Obj == 0 */
} V;
};