]> git.sur5r.net Git - cc65/blobdiff - src/ca65/symtab.h
Remember where each symbol was defined and where it was referenced. Write this
[cc65] / src / ca65 / symtab.h
index 36d37133b26e892acef841e4e243e88f8e7782b6..ea7e66515c7bed5e036b9b522ee3b74c3671d77d 100644 (file)
@@ -45,7 +45,6 @@
 #include "inline.h"
 
 /* ca65 */
-#include "segrange.h"
 #include "symentry.h"
 
 
@@ -68,8 +67,8 @@ struct SymTable {
     SymTable*           Right;          /* Pointer to greater entry */
     SymTable*                  Parent;         /* Link to enclosing scope if any */
     SymTable*           Childs;         /* Pointer to child scopes */
-    SymEntry*           OwnerSym;       /* Symbol that "owns" the scope */
-    Collection          SegRanges;      /* Segment ranges for this scope */
+    SymEntry*           Label;          /* Scope label */
+    Collection          Spans;          /* Spans for this scope */
     unsigned            Id;             /* Scope id */
     unsigned short      Flags;          /* Symbol table flags */
     unsigned char      AddrSize;       /* Address size */