mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 06:42:40 +02:00
codetools: finding unused units: used global properties
git-svn-id: trunk@19289 -
This commit is contained in:
parent
8b2cde0cb6
commit
54597c0fcb
@ -1458,6 +1458,9 @@ var
|
||||
and (Node.FirstChild<>nil)
|
||||
and (Node.FirstChild.Desc=ctnProcedureHead)
|
||||
and IsIdentifierUsed(Node.FirstChild.StartPos) then exit;
|
||||
ctnGlobalProperty:
|
||||
if Tool.MoveCursorToPropName(Node)
|
||||
and IsIdentifierUsed(Tool.CurPos.StartPos) then exit;
|
||||
end;
|
||||
Node:=Node.Next;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user