codetools: fixed GatherLFM

This commit is contained in:
mattias 2025-05-26 11:50:12 +02:00
parent 8576232676
commit 310f3efc95

View File

@ -2882,7 +2882,7 @@ var
case Parser.Token of
#0: break;
toSymbol:
begin
if Parser.TokenSymbolIs(Identifier) then begin
p:=Parser.SourcePos+1-Length(Identifier);
Insert(p,IdentifierPositions,length(IdentifierPositions));
end;
@ -2894,7 +2894,6 @@ var
finally
MemStream.Free;
end;
Parser.NextToken;
end;
end;
until false;