mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 12:30:36 +02:00
IDE,lazbuild: update package main source file if directives changed, bug #29391
git-svn-id: trunk@51273 -
This commit is contained in:
parent
c0b5c2d5a1
commit
9a795c577c
@ -5122,9 +5122,9 @@ begin
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
// ignore comments
|
// ignore comments
|
||||||
OldShortenSrc:=CodeToolBoss.ExtractCodeWithoutComments(CodeBuffer);
|
OldShortenSrc:=CodeToolBoss.ExtractCodeWithoutComments(CodeBuffer,true);
|
||||||
NewShortenSrc:=CleanCodeFromComments(Src,
|
NewShortenSrc:=CleanCodeFromComments(Src,
|
||||||
CodeToolBoss.GetNestedCommentsFlagForFile(CodeBuffer.Filename));
|
CodeToolBoss.GetNestedCommentsFlagForFile(CodeBuffer.Filename),true);
|
||||||
// ignore case and spaces
|
// ignore case and spaces
|
||||||
if CompareTextIgnoringSpace(OldShortenSrc,NewShortenSrc,false)=0 then begin
|
if CompareTextIgnoringSpace(OldShortenSrc,NewShortenSrc,false)=0 then begin
|
||||||
Result:=mrOk;
|
Result:=mrOk;
|
||||||
|
Loading…
Reference in New Issue
Block a user