mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 12:19:31 +02:00
Codetools: remove obsolete LinkScannerRangeNames, use WriteStr
git-svn-id: trunk@33240 -
This commit is contained in:
parent
c58e2a0d75
commit
e68a06ceba
@ -583,23 +583,6 @@ var
|
||||
PSourceLinkMemManager: TPSourceLinkMemManager;
|
||||
PSourceChangeStepMemManager: TPSourceChangeStepMemManager;
|
||||
|
||||
const
|
||||
LinkScannerRangeNames: array[TLinkScannerRange] of string = (
|
||||
'lsrNone',
|
||||
'lsrInit',
|
||||
'lsrSourceType',
|
||||
'lsrSourceName',
|
||||
'lsrInterfaceStart',
|
||||
'lsrMainUsesSectionStart',
|
||||
'lsrMainUsesSectionEnd',
|
||||
'lsrImplementationStart',
|
||||
'lsrImplementationUsesSectionStart',
|
||||
'lsrImplementationUsesSectionEnd',
|
||||
'lsrInitializationStart',
|
||||
'lsrFinalizationStart',
|
||||
'lsrEnd'
|
||||
);
|
||||
|
||||
procedure AddCodeToUniqueList(ACode: Pointer; UniqueSortedCodeList: TFPList);
|
||||
function IndexOfCodeInUniqueList(ACode: Pointer;
|
||||
UniqueSortedCodeList: TList): integer;
|
||||
@ -656,7 +639,7 @@ end;
|
||||
|
||||
function dbgs(r: TLinkScannerRange): string; overload;
|
||||
begin
|
||||
Result:=LinkScannerRangeNames[r];
|
||||
WriteStr(Result, r);
|
||||
end;
|
||||
|
||||
procedure AddCodeToUniqueList(ACode: Pointer; UniqueSortedCodeList: TFPList);
|
||||
|
Loading…
Reference in New Issue
Block a user