Use LineInfo instead of raw FilePos objects. Most information in the object
files does now have lists of LineInfos attached. Compiles but UNTESTED! git-svn-id: svn://svn.cc65.org/cc65/trunk@4921 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "error.h"
|
||||
#include "exports.h"
|
||||
#include "expr.h"
|
||||
#include "lineinfo.h"
|
||||
#include "scanner.h"
|
||||
#include "spool.h"
|
||||
|
||||
@@ -74,7 +75,7 @@ static ExprNode* Factor (void)
|
||||
} else {
|
||||
N = NewExprNode (0, EXPR_SYMBOL);
|
||||
N->V.Imp = InsertImport (GenImport (Name, ADDR_SIZE_ABS));
|
||||
N->V.Imp->Pos = CfgErrorPos;
|
||||
CollAppend (&N->V.Imp->LineInfos, GenLineInfo (&CfgErrorPos));
|
||||
}
|
||||
|
||||
/* Skip the symbol name */
|
||||
|
||||
Reference in New Issue
Block a user