/* common */
#include "chartype.h"
#include "cmdline.h"
+#include "print.h"
#include "target.h"
#include "tgttrans.h"
#include "version.h"
#include "incpath.h"
#include "instr.h"
#include "istack.h"
+#include "lineinfo.h"
#include "listing.h"
#include "macro.h"
#include "nexttok.h"
static void OptVerbose (const char* Opt, const char* Arg)
/* Increase verbosity */
{
- ++Verbose;
+ ++Verbosity;
}
/* Write debug symbols if requested */
WriteDbgSyms ();
+ /* Write line infos if requested */
+ WriteLineInfo ();
+
/* Write an updated header and close the file */
ObjClose ();
}
SegCheck ();
}
+ /* If we didn't have an errors, index the line infos */
+ MakeLineInfoIndex ();
+
/* Dump the data */
- if (Verbose >= 2) {
+ if (Verbosity >= 2) {
SymDump (stdout);
SegDump ();
}