|
@@ -2085,7 +2085,7 @@ implementation
|
|
begin
|
|
begin
|
|
result:=assigned(childsym) and (childsym.owner=symtable);
|
|
result:=assigned(childsym) and (childsym.owner=symtable);
|
|
if not result and assigned(childsym) and
|
|
if not result and assigned(childsym) and
|
|
- not(childsym.owner.symtabletype in [localsymtable,parasymtable]) then
|
|
|
|
|
|
+ (childsym.owner.symtabletype in [objectsymtable,recordsymtable]) then
|
|
result:=sym_is_owned_by(tabstractrecorddef(childsym.owner.defowner).typesym,symtable);
|
|
result:=sym_is_owned_by(tabstractrecorddef(childsym.owner.defowner).typesym,symtable);
|
|
end;
|
|
end;
|
|
|
|
|