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

@@ -56,6 +56,7 @@
#include "incpath.h"
#include "instr.h"
#include "istack.h"
#include "lineinfo.h"
#include "listing.h"
#include "macro.h"
#include "nexttok.h"
@@ -480,6 +481,9 @@ static void CreateObjFile (void)
/* Write debug symbols if requested */
WriteDbgSyms ();
/* Write line infos if requested */
WriteLineInfo ();
/* Write an updated header and close the file */
ObjClose ();
}
@@ -636,6 +640,9 @@ int main (int argc, char* argv [])
SegCheck ();
}
/* If we didn't have an errors, index the line infos */
MakeLineInfoIndex ();
/* Dump the data */
if (Verbosity >= 2) {
SymDump (stdout);