ED_Done (&Right);
}
-
+
static void StudyLiteral (ExprNode* Expr, ExprDesc* D)
/* Study a literal expression node */
if (Verbosity > 0) {
DumpExpr (Expr, SymResolve);
}
- PError (GetSymPos (Sym),
- "Circular reference in definition of symbol `%m%p'",
- GetSymName (Sym));
+ LIError (&Sym->LineInfos,
+ "Circular reference in definition of symbol `%m%p'",
+ GetSymName (Sym));
ED_Invalidate (D);
} else {
/* Study a section expression node */
{
/* Get the section reference */
- ED_SecRef* SecRef = ED_GetSecRef (D, Expr->V.SegNum);
+ ED_SecRef* SecRef = ED_GetSecRef (D, Expr->V.SecNum);
/* Update the data and the address size */
++SecRef->Count;
*/
if (D->AddrSize == ADDR_SIZE_DEFAULT && ED_IsConst (D)) {
D->AddrSize = GetConstAddrSize (D->Val);
- }
+ }
/* If the expression is valid, throw away the address size and recalculate
* it using the data we have. This is more exact than the on-the-fly