|
@@ -3992,19 +3992,17 @@ implementation
|
|
|
{ class we need to call it as a class member }
|
|
|
if (gensym.owner.symtabletype in [ObjectSymtable,recordsymtable]) and
|
|
|
assigned(current_structdef) and (current_structdef<>parseddef) and is_owned_by(current_structdef,parseddef) then
|
|
|
+ result:=cloadvmtaddrnode.create(ctypenode.create(parseddef));
|
|
|
+ { not srsymtable.symtabletype since that can be }
|
|
|
+ { withsymtable as well }
|
|
|
+ if (gensym.owner.symtabletype in [ObjectSymtable,recordsymtable]) then
|
|
|
begin
|
|
|
- result:=cloadvmtaddrnode.create(ctypenode.create(parseddef));
|
|
|
- { not srsymtable.symtabletype since that can be }
|
|
|
- { withsymtable as well }
|
|
|
- if (gensym.owner.symtabletype in [ObjectSymtable,recordsymtable]) then
|
|
|
- begin
|
|
|
- do_member_read(tabstractrecorddef(parseddef),getaddr,gensym,result,again,[],spezcontext);
|
|
|
- spezcontext:=nil;
|
|
|
- end
|
|
|
- else
|
|
|
- { no procsyms in records (yet) }
|
|
|
- internalerror(2015092704);
|
|
|
- end;
|
|
|
+ do_member_read(tabstractrecorddef(parseddef),getaddr,gensym,result,again,[],spezcontext);
|
|
|
+ spezcontext:=nil;
|
|
|
+ end
|
|
|
+ else
|
|
|
+ { no procsyms in records (yet) }
|
|
|
+ internalerror(2015092704);
|
|
|
end
|
|
|
else
|
|
|
begin
|