|
@@ -1870,6 +1870,7 @@ implementation
|
|
|
|
|
|
function tstoreddef.fullownerhierarchyname: TSymStr;
|
|
function tstoreddef.fullownerhierarchyname: TSymStr;
|
|
var
|
|
var
|
|
|
|
+ lastowner: tsymtable;
|
|
tmp: tdef;
|
|
tmp: tdef;
|
|
begin
|
|
begin
|
|
{$ifdef symansistr}
|
|
{$ifdef symansistr}
|
|
@@ -1884,11 +1885,12 @@ implementation
|
|
tmp:=self;
|
|
tmp:=self;
|
|
result:='';
|
|
result:='';
|
|
repeat
|
|
repeat
|
|
|
|
+ lastowner:=tmp.owner;
|
|
{ can be not assigned in case of a forwarddef }
|
|
{ can be not assigned in case of a forwarddef }
|
|
- if not assigned(tmp.owner) then
|
|
|
|
|
|
+ if not assigned(lastowner) then
|
|
break
|
|
break
|
|
else
|
|
else
|
|
- tmp:=tdef(tmp.owner.defowner);
|
|
|
|
|
|
+ tmp:=tdef(lastowner.defowner);
|
|
if not assigned(tmp) then
|
|
if not assigned(tmp) then
|
|
break;
|
|
break;
|
|
if tmp.typ in [recorddef,objectdef] then
|
|
if tmp.typ in [recorddef,objectdef] then
|
|
@@ -1897,6 +1899,10 @@ implementation
|
|
if tmp.typ=procdef then
|
|
if tmp.typ=procdef then
|
|
result:=tprocdef(tmp).customprocname([pno_paranames,pno_proctypeoption])+'.'+result;
|
|
result:=tprocdef(tmp).customprocname([pno_paranames,pno_proctypeoption])+'.'+result;
|
|
until tmp=nil;
|
|
until tmp=nil;
|
|
|
|
+ { add the unit name }
|
|
|
|
+ if assigned(lastowner) and
|
|
|
|
+ assigned(lastowner.realname) then
|
|
|
|
+ result:=lastowner.realname^+'.'+result;
|
|
{$ifdef symansistr}
|
|
{$ifdef symansistr}
|
|
_fullownerhierarchyname:=result;
|
|
_fullownerhierarchyname:=result;
|
|
{$else symansistr}
|
|
{$else symansistr}
|