mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 15:19:16 +02:00
find declaration now knows, that FPC uses IUknown as default interface ancestor
git-svn-id: trunk@8510 -
This commit is contained in:
parent
b3a5142b3d
commit
18e682b419
@ -3976,9 +3976,11 @@ begin
|
|||||||
SearchBaseClass:=
|
SearchBaseClass:=
|
||||||
not CompareSrcIdentifier(ClassIdentNode.StartPos,'TObject');
|
not CompareSrcIdentifier(ClassIdentNode.StartPos,'TObject');
|
||||||
end else begin
|
end else begin
|
||||||
// if this class is not IInterface, IInterface is ancestor
|
// Delphi has as default interface IInterface
|
||||||
|
// FPC has as interface IUnknown
|
||||||
SearchBaseClass:=
|
SearchBaseClass:=
|
||||||
not CompareSrcIdentifier(ClassIdentNode.StartPos,'IInterface');
|
(not CompareSrcIdentifier(ClassIdentNode.StartPos,'IInterface'))
|
||||||
|
and (not CompareSrcIdentifier(ClassIdentNode.StartPos,'IUnknown'));
|
||||||
end;
|
end;
|
||||||
if not SearchBaseClass then exit;
|
if not SearchBaseClass then exit;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user