Remember where each symbol was defined and where it was referenced. Write this

information to the object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5213 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-18 16:25:58 +00:00
parent 2f9e7d2ca0
commit c52916f461
4 changed files with 78 additions and 35 deletions

View File

@@ -510,7 +510,7 @@ static void StudySymbol (ExprNode* Expr, ExprDesc* D)
if (Verbosity > 0) {
DumpExpr (Expr, SymResolve);
}
LIError (&Sym->LineInfos,
LIError (&Sym->DefLines,
"Circular reference in definition of symbol `%m%p'",
GetSymName (Sym));
ED_Invalidate (D);