mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 15:39:29 +02:00
* Better operator declaration
git-svn-id: trunk@31232 -
This commit is contained in:
parent
a910bbc3a7
commit
798192ba70
@ -1855,7 +1855,10 @@ procedure THTMLWriter.AppendProcDecl(CodeEl, TableEl: TDOMElement;
|
||||
AppendSym(CodeEl, '.');
|
||||
AppendText(CodeEl, AProc.Name);
|
||||
end else
|
||||
AppendText(CodeEl, ' ' + AProc.FullName);
|
||||
if (Element is TPasOperator) then
|
||||
AppendText(CodeEl, ' ' + TPasOperator(AProc).GetOperatorDeclaration(True))
|
||||
else
|
||||
AppendText(CodeEl, ' ' + AProc.FullName);
|
||||
CodeEl := AppendProcType(CodeEl, TableEl, AProc.ProcType, 0);
|
||||
AppendSym(CodeEl, ';');
|
||||
AppendProcExt(CodeEl, AProc);
|
||||
@ -2571,6 +2574,8 @@ begin
|
||||
CreateProcPageBody(TPasProcedureBase(AElement))
|
||||
else if AElement.ClassType = TTopicELement then
|
||||
CreateTopicPageBody(TTopicElement(AElement))
|
||||
else if AElement.ClassType = TPasProperty then
|
||||
CreateClassMemberPageBody(TPasProperty(AElement))
|
||||
else
|
||||
writeln('Unknown classtype: ',AElement.classtype.classname);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user