fcl-passrc: fixed anaylyzer

git-svn-id: trunk@46515 -
This commit is contained in:
Mattias Gaertner 2020-08-20 17:18:59 +00:00
parent 75e5afd45b
commit 89752e042d

View File

@ -910,7 +910,12 @@ end;
procedure TPasAnalyzer.CreateTree;
begin
FUsedElements:=CreatePasElementSet;
FUsedElements:=TPasAnalyzerKeySet.Create(
{$ifdef pas2js}
@PAElement_ElToHashName,@PasElementToHashName
{$else}
@ComparePAElements,@CompareElementWithPAElement
{$endif});
end;
function TPasAnalyzer.MarkElementAsUsed(El: TPasElement; aClass: TPAElementClass