git-svn-id: trunk@37038 -
@@ -1084,6 +1084,7 @@ Type
ProcType: TPasProcedureType;
Locals: TFPList;
Body: TPasImplBlock;
+ IsClassMethod: boolean;
end;
{ TPasConstructorImpl - used by mkxmlrpc, not by pparser }
@@ -387,6 +387,8 @@ var
i: Integer;
begin
PrepareDeclSection('');
+ if AProc.IsClassMethod then
+ wrt('class ');
wrt(AProc.TypeName + ' ');
if AProc.Parent.ClassType = TPasClassType then