mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 16:59:20 +02:00
Converter: improved comments.
git-svn-id: trunk@28078 -
This commit is contained in:
parent
1d91673a50
commit
b6a99db82e
@ -175,6 +175,7 @@ function TConvDelphiCodeTool.Convert(aIsConsoleApp: boolean): TModalResult;
|
|||||||
// add {$mode delphi} directive
|
// add {$mode delphi} directive
|
||||||
// remove {$R *.dfm} or {$R *.xfm} directive
|
// remove {$R *.dfm} or {$R *.xfm} directive
|
||||||
// Change {$R *.RES} to {$R *.res} if needed
|
// Change {$R *.RES} to {$R *.res} if needed
|
||||||
|
// Add, remove, rename and comment out used unit names.
|
||||||
// TODO: fix delphi ambiguouties like incomplete proc implementation headers
|
// TODO: fix delphi ambiguouties like incomplete proc implementation headers
|
||||||
begin
|
begin
|
||||||
Result:=mrCancel;
|
Result:=mrCancel;
|
||||||
@ -229,7 +230,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TConvDelphiCodeTool.AddDelphiAndLCLSections: boolean;
|
function TConvDelphiCodeTool.AddDelphiAndLCLSections: boolean;
|
||||||
// add, remove and rename units for desired target.
|
// Add unit names into conditional blocks for Delphi and Lazarus targets. If the name
|
||||||
|
// would otherwise be deleted or commented out, now it is added to Delphi block.
|
||||||
var
|
var
|
||||||
DelphiOnlyUnits: TStringList; // Delphi specific units.
|
DelphiOnlyUnits: TStringList; // Delphi specific units.
|
||||||
LclOnlyUnits: TStringList; // LCL specific units.
|
LclOnlyUnits: TStringList; // LCL specific units.
|
||||||
|
Loading…
Reference in New Issue
Block a user