mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 16:32:30 +02:00
codetools: clean up
git-svn-id: trunk@48664 -
This commit is contained in:
parent
db6d5c1a01
commit
838eb3d9c4
@ -133,7 +133,7 @@ type
|
||||
procedure RaiseLastError;
|
||||
procedure DoProgress; inline;
|
||||
procedure NotifyAboutProgress;
|
||||
procedure FetchScannerSource(Range: TLinkScannerRange); virtual;
|
||||
procedure FetchScannerSource; virtual;
|
||||
function InternalAtomIsIdentifier: boolean; inline;
|
||||
public
|
||||
Tree: TCodeTree;
|
||||
@ -494,7 +494,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TCustomCodeTool.FetchScannerSource(Range: TLinkScannerRange);
|
||||
procedure TCustomCodeTool.FetchScannerSource;
|
||||
begin
|
||||
// update scanned code
|
||||
if FLastScannerChangeStep=Scanner.ChangeStep then begin
|
||||
@ -1983,7 +1983,7 @@ begin
|
||||
// scan
|
||||
FLastProgressPos:=0;
|
||||
Scanner.Scan(Range,CheckFilesOnDisk);
|
||||
FetchScannerSource(Range);
|
||||
FetchScannerSource;
|
||||
// init parsing values
|
||||
CurPos:=StartAtomPosition;
|
||||
LastAtoms.Clear;
|
||||
|
@ -43,7 +43,7 @@ uses
|
||||
MemCheck,
|
||||
{$ENDIF}
|
||||
Classes, SysUtils, FileProcs, CodeToolsStrConsts, CodeTree, CodeAtom, ExprEval,
|
||||
CustomCodeTool, MultiKeyWordListTool, KeywordFuncLists, BasicCodeTools,
|
||||
CustomCodeTool, MultiKeyWordListTool, KeywordFuncLists,
|
||||
CodeToolsStructs, LinkScanner, CodeCache, AVL_Tree;
|
||||
|
||||
type
|
||||
@ -143,7 +143,7 @@ type
|
||||
FLastDefineStatic: Boolean;
|
||||
FLastDefineEmbedded: Boolean;
|
||||
FLastDefineTargetCPU: String;
|
||||
procedure FetchScannerSource(Range: TLinkScannerRange); override;
|
||||
procedure FetchScannerSource; override;
|
||||
// sections
|
||||
function KeyWordFuncSection: boolean;
|
||||
function KeyWordFuncEndPoint: boolean;
|
||||
@ -5177,7 +5177,7 @@ begin
|
||||
ReadNextAtom;
|
||||
end;
|
||||
|
||||
procedure TPascalParserTool.FetchScannerSource(Range: TLinkScannerRange);
|
||||
procedure TPascalParserTool.FetchScannerSource;
|
||||
var
|
||||
AllChanged: Boolean;
|
||||
NewSrc: String;
|
||||
|
Loading…
Reference in New Issue
Block a user