Add reference counting to line infos. This allows better tracking of the ones
that are actually used. git-svn-id: svn://svn.cc65.org/cc65/trunk@5212 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -87,7 +87,7 @@ SymEntry* NewSymEntry (const StrBuf* Name, unsigned Flags)
|
||||
S->Locals = 0;
|
||||
S->Sym.Tab = 0;
|
||||
S->LineInfos = EmptyCollection;
|
||||
GetFullLineInfo (&S->LineInfos, 1);
|
||||
GetFullLineInfo (&S->LineInfos);
|
||||
for (I = 0; I < sizeof (S->GuessedUse) / sizeof (S->GuessedUse[0]); ++I) {
|
||||
S->GuessedUse[I] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user