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