mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 19:38:24 +02:00
codetools: fixed ConvertDelphiToLazarusSource reparse after adding mode delphi
git-svn-id: trunk@23767 -
This commit is contained in:
parent
8c970975ee
commit
34bcf2c445
@ -3941,8 +3941,6 @@ begin
|
||||
Result:=false;
|
||||
if SourceChangeCache=nil then exit;
|
||||
SourceChangeCache.MainScanner:=Scanner;
|
||||
SourceChangeCache.BeginUpdate;
|
||||
try
|
||||
DebugLn('ConvertDelphiToLazarusSource AddModeDelphiDirective');
|
||||
if not AddModeDelphiDirective then exit;
|
||||
DebugLn('ConvertDelphiToLazarusSource RemoveDFMResourceDirective');
|
||||
@ -3953,9 +3951,6 @@ begin
|
||||
if not ConvertUsedUnits then exit;
|
||||
DebugLn('ConvertDelphiToLazarusSource Apply');
|
||||
if not SourceChangeCache.Apply then exit;
|
||||
finally
|
||||
SourceChangeCache.EndUpdate;
|
||||
end;
|
||||
DebugLn('ConvertDelphiToLazarusSource END');
|
||||
Result:=true;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user