mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-29 06:37:53 +01: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<>nil)
|
||||||
and (Node.FirstChild.Desc=ctnProcedureHead)
|
and (Node.FirstChild.Desc=ctnProcedureHead)
|
||||||
and IsIdentifierUsed(Node.FirstChild.StartPos) then exit;
|
and IsIdentifierUsed(Node.FirstChild.StartPos) then exit;
|
||||||
|
ctnGlobalProperty:
|
||||||
|
if Tool.MoveCursorToPropName(Node)
|
||||||
|
and IsIdentifierUsed(Tool.CurPos.StartPos) then exit;
|
||||||
end;
|
end;
|
||||||
Node:=Node.Next;
|
Node:=Node.Next;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user