mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 10:01:12 +02:00
codetools: clear nodes behind, when linkscanner parsed only parts
git-svn-id: trunk@37476 -
This commit is contained in:
parent
afacbf67e6
commit
ff6ee10d04
@ -4880,7 +4880,8 @@ begin
|
||||
debugln(['TPascalParserTool.FetchScannerSource first character changed ',MainFilename]);
|
||||
{$ENDIF}
|
||||
AllChanged:=true;
|
||||
end else if (DiffPos>NewSrcLen) and (not LastErrorValid) then begin
|
||||
end else if (DiffPos>NewSrcLen) and (SrcLen=NewSrcLen)
|
||||
and (not LastErrorValid) then begin
|
||||
// no change and no error => keep all nodes
|
||||
{$IFDEF VerboseUpdateNeeded}
|
||||
debugln(['TPascalParserTool.FetchScannerSource cleansrc has not changed => keep all nodes ',MainFilename]);
|
||||
|
Loading…
Reference in New Issue
Block a user