* ppudump: Output "RetType" attribute for procedures and destructors.

git-svn-id: trunk@24511 -
This commit is contained in:
yury 2013-05-15 14:18:38 +00:00
parent 45895f26e0
commit 10c1b11d15

View File

@ -1065,8 +1065,7 @@ begin
Output.WriteStr('', ProcOptionNames[opt]); Output.WriteStr('', ProcOptionNames[opt]);
Output.WriteArrayEnd('Options'); Output.WriteArrayEnd('Options');
end; end;
if Options*[poProcedure, poDestructor] = [] then ReturnType.Write(Output, 'RetType');
ReturnType.Write(Output, 'RetType');
end; end;
constructor TPpuProcDef.Create(AParent: TPpuContainerDef); constructor TPpuProcDef.Create(AParent: TPpuContainerDef);