mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 14:39:27 +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;
|
||||
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