E->ImpCount = 0;
E->ImpList = 0;
E->Expr = 0;
+ E->Size = 0;
E->LineInfos = EmptyCollection;
E->Type = Type;
E->AddrSize = AddrSize;
E->Expr = LiteralExpr (Read32 (F), O);
}
+ /* Read the size */
+ if (SYM_HAS_SIZE (Type)) {
+ E->Size = ReadVar (F);
+ }
+
/* Last is the file position where the definition was done */
ReadLineInfoList (F, O, &E->LineInfos);
Imp = E->ImpList;
while (Imp) {
Imp->Exp = E;
- Imp = Imp->Next;
+ Imp = Imp->Next;
}
} else {
/* Duplicate entry, ignore it */
}
-
+
static int CmpExpName (const void* K1, const void* K2)
/* Compare function for qsort */
{