Added line infos
git-svn-id: svn://svn.cc65.org/cc65/trunk@748 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user