Write spans out in a separate object file section. This allows to merge
duplicate spans in an object file and more extensions to come. git-svn-id: svn://svn.cc65.org/cc65/trunk@5250 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -235,7 +235,7 @@ void SymEnterLevel (const StrBuf* ScopeName, unsigned char Type,
|
||||
* space in any segment).
|
||||
*/
|
||||
if (CurrentScope->Type <= SCOPE_HAS_DATA) {
|
||||
OpenSpans (&CurrentScope->Spans);
|
||||
OpenSpanList (&CurrentScope->Spans);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ void SymLeaveLevel (void)
|
||||
* open the spans.
|
||||
*/
|
||||
if (CurrentScope->Type <= SCOPE_HAS_DATA) {
|
||||
CloseSpans (&CurrentScope->Spans);
|
||||
CloseSpanList (&CurrentScope->Spans);
|
||||
}
|
||||
|
||||
/* If we have spans, the first one is the segment that was active, when the
|
||||
@@ -983,7 +983,7 @@ void WriteScopes (void)
|
||||
}
|
||||
|
||||
/* Spans for this scope */
|
||||
WriteSpans (&S->Spans);
|
||||
WriteSpanList (&S->Spans);
|
||||
|
||||
/* Next scope */
|
||||
S = S->Next;
|
||||
|
||||
Reference in New Issue
Block a user