Added line infos
git-svn-id: svn://svn.cc65.org/cc65/trunk@748 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2000 Ullrich von Bassewitz */
|
||||
/* (C) 1998-2001 Ullrich von Bassewitz */
|
||||
/* Wacholderweg 14 */
|
||||
/* D-70597 Stuttgart */
|
||||
/* EMail: uz@musoftware.de */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@@ -83,6 +83,8 @@ ObjData* NewObjData (void)
|
||||
O->Imports = 0;
|
||||
O->DbgSymCount = 0;
|
||||
O->DbgSyms = 0;
|
||||
O->LineInfoCount = 0;
|
||||
O->LineInfos = 0;
|
||||
|
||||
/* Link it into the list */
|
||||
if (ObjLast) {
|
||||
@@ -108,7 +110,8 @@ void FreeObjData (ObjData* O)
|
||||
xfree (O->Name);
|
||||
xfree (O->Imports);
|
||||
xfree (O->Exports);
|
||||
xfree (O->DbgSyms);
|
||||
xfree (O->DbgSyms);
|
||||
xfree (O->LineInfos);
|
||||
xfree (O);
|
||||
}
|
||||
|
||||
@@ -143,7 +146,7 @@ const char* GetSourceFileName (const ObjData* O, unsigned Index)
|
||||
/* Return the name */
|
||||
return O->Files[Index];
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user