mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +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:=
|
||||
not CompareSrcIdentifier(ClassIdentNode.StartPos,'TObject');
|
||||
end else begin
|
||||
// if this class is not IInterface, IInterface is ancestor
|
||||
// Delphi has as default interface IInterface
|
||||
// FPC has as interface IUnknown
|
||||
SearchBaseClass:=
|
||||
not CompareSrcIdentifier(ClassIdentNode.StartPos,'IInterface');
|
||||
(not CompareSrcIdentifier(ClassIdentNode.StartPos,'IInterface'))
|
||||
and (not CompareSrcIdentifier(ClassIdentNode.StartPos,'IUnknown'));
|
||||
end;
|
||||
if not SearchBaseClass then exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user