/* */
/* */
/* */
-/* (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 */
/* ld65 */
#include "error.h"
+#include "fileinfo.h"
#include "objdata.h"
O->Imports = 0;
O->DbgSymCount = 0;
O->DbgSyms = 0;
+ O->LineInfoCount = 0;
+ O->LineInfos = 0;
/* Link it into the list */
if (ObjLast) {
xfree (O->Imports);
xfree (O->Exports);
xfree (O->DbgSyms);
+ xfree (O->LineInfos);
xfree (O);
}
PRECONDITION (Index < O->FileCount);
/* Return the name */
- return O->Files[Index];
+ return O->Files[Index]->Name;
- }
+ }
}