Debug symbolid for each symbol that goes into the debug symbol output.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4811 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-08-17 20:11:27 +00:00
parent b2b2a05a46
commit d62af9de80
3 changed files with 5 additions and 5 deletions

View File

@@ -780,12 +780,12 @@ void WriteDbgSyms (void)
/* Check if debug info is requested */
if (DbgSyms) {
/* Walk through the list and count the symbols */
/* Walk through the list, give each symbol an id and count them */
Count = 0;
S = SymList;
while (S) {
if ((S->Flags & SF_DBGINFOMASK) == SF_DBGINFOVAL) {
++Count;
S->DebugSymId = Count++;
}
S = S->List;
}
@@ -856,5 +856,3 @@ void WriteScopes (void)