Rename symbol index => import id because that's what it really is.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4809 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-08-17 20:01:54 +00:00
parent e55b19fa8b
commit c921c409e8
4 changed files with 21 additions and 23 deletions

View File

@@ -581,17 +581,14 @@ void SymCheck (void)
"Symbol `%m%p' is imported but never used",
GetSymName (S));
} else {
/* Give the import an index, count imports */
S->Index = ImportCount++;
S->Flags |= SF_INDEXED;
/* Give the import an id, count imports */
S->ImportId = ImportCount++;
}
}
/* Assign an index to all exports */
/* Count exports */
if (S->Flags & SF_EXPORT) {
/* Give the export an index, count exports */
S->Index = ExportCount++;
S->Flags |= SF_INDEXED;
++ExportCount;
}
/* If the symbol is defined but has an unknown address size,