Added line infos

git-svn-id: svn://svn.cc65.org/cc65/trunk@748 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-05-23 19:03:40 +00:00
parent ea2cf602b0
commit bfbedfa54b
26 changed files with 451 additions and 77 deletions

View File

@@ -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];
}
}
}