Use the Span structure also for scopes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5115 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -317,15 +317,17 @@ void ObjAdd (FILE* Obj, const char* Name)
|
||||
/* Read the assertions from the object file */
|
||||
ObjReadAssertions (Obj, O->Header.AssertOffs, O);
|
||||
|
||||
/* Read the scope table from the object file */
|
||||
ObjReadScopes (Obj, O->Header.ScopeOffs, O);
|
||||
|
||||
/* Read the segment list from the object file. This must be last, since
|
||||
/* Read the segment list from the object file. This must be late, since
|
||||
* the expressions stored in the code may reference segments or imported
|
||||
* symbols.
|
||||
*/
|
||||
ObjReadSections (Obj, O->Header.SegOffs, O);
|
||||
|
||||
/* Read the scope table from the object file. Scopes reference segments, so
|
||||
* we must read them after the sections.
|
||||
*/
|
||||
ObjReadScopes (Obj, O->Header.ScopeOffs, O);
|
||||
|
||||
/* Mark this object file as needed */
|
||||
O->Flags |= OBJ_REF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user