codetools: TStandardCodeTool.FindUnusedUnits scan whole unit

git-svn-id: trunk@33795 -
This commit is contained in:
mattias 2011-11-26 10:49:06 +00:00
parent 085cd56008
commit 246cf4a714

View File

@ -1826,7 +1826,7 @@ begin
{$IFDEF VerboseFindUnusedUnits}
DebugLn(['TStandardCodeTool.FindUnusedUnits START']);
{$ENDIF}
BuildTree(lsrImplementationUsesSectionEnd);
BuildTree(lsrEnd);
Identifiers:=nil;
try
CheckUsesSection(FindMainUsesSection,false);