* also use typename in rtti label for staticsymtable

git-svn-id: trunk@5291 -
This commit is contained in:
peter 2006-11-08 21:38:24 +00:00
parent 0557ddc342
commit e96b5f0152

View File

@ -923,7 +923,7 @@ implementation
else
prefix:='INIT';
if assigned(typesym) and
(owner.symtabletype=globalsymtable) then
(owner.symtabletype in [staticsymtable,globalsymtable]) then
result:=make_mangledname(prefix,owner,typesym.name)
else
result:=make_mangledname(prefix,findunitsymtable(owner),'DEF'+tostr(DefId))