Started to generalize line info handling. Remove separate FilePos fields and

try to manage all and everything with LineInfos.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4914 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-01-24 22:38:22 +00:00
parent 0f9ced267e
commit 06e3152035
11 changed files with 446 additions and 141 deletions

View File

@@ -805,7 +805,7 @@ static void CreateObjFile (void)
WriteDbgSyms ();
/* Write line infos if requested */
WriteLineInfo ();
WriteLineInfos ();
/* Write the string pool */
WriteStrPool ();
@@ -902,7 +902,7 @@ int main (int argc, char* argv [])
break;
case 'o':
OutFile = GetArg (&I, 2);
OutFile = GetArg (&I, 2);
break;
case 's':
@@ -926,7 +926,7 @@ int main (int argc, char* argv [])
break;
case 'U':
OptAutoImport (Arg, 0);
OptAutoImport (Arg, 0);
break;
case 'V':
@@ -980,6 +980,9 @@ int main (int argc, char* argv [])
/* Initialize the segments */
InitSegments ();
/* Initialize the line infos */
InitLineInfo ();
/* Initialize the scanner, open the input file */
InitScanner (InFile);