mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:14:25 +02:00
* Add backwards compatibility lookup for operators
git-svn-id: trunk@31233 -
This commit is contained in:
parent
798192ba70
commit
a32160131b
@ -1514,7 +1514,11 @@ begin
|
|||||||
if AElement.InheritsFrom(TPasUnresolvedTypeRef) then
|
if AElement.InheritsFrom(TPasUnresolvedTypeRef) then
|
||||||
Result := FindDocNode(AElement.GetModule, AElement.Name)
|
Result := FindDocNode(AElement.GetModule, AElement.Name)
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
Result := RootDocNode.FindChild(AElement.PathName);
|
Result := RootDocNode.FindChild(AElement.PathName);
|
||||||
|
if (Result=Nil) and (AElement is TPasoperator) then
|
||||||
|
Result:=RootDocNode.FindChild(TPasOperator(AElement).OldName(True));
|
||||||
|
end;
|
||||||
if (Result=Nil) and
|
if (Result=Nil) and
|
||||||
WarnNoNode and
|
WarnNoNode and
|
||||||
(Length(AElement.PathName)>0) and
|
(Length(AElement.PathName)>0) and
|
||||||
|
Loading…
Reference in New Issue
Block a user