* Fix generating docs

This commit is contained in:
Michaël Van Canneyt 2025-01-29 21:43:42 +01:00
parent 53e4c5b5fb
commit 370883c86a

View File

@ -5345,6 +5345,8 @@ begin
T:=T+' '+SafeName;
S.Add(T);
end;
if Assigned(ProcType) then
begin
ProcType.GetArguments(S);
If (ProcType is TPasFunctionType)
and Assigned(TPasFunctionType(Proctype).ResultEl) then
@ -5357,7 +5359,8 @@ begin
T:=T+GetDeclaration(False);
S.Add(T);
end;
GetModifiers(S);
GetModifiers(S); // needs proctype
end;
Result:=IndentStrings(S,Length(S[0]));
finally
S.Free;