mirror of https://gitlab.com/basile.b/dexed.git
remove old commented code, CE proj loading error handling
This commit is contained in:
parent
ea6c3bd2f8
commit
5d920aef7e
|
@ -597,35 +597,10 @@ end;
|
||||||
|
|
||||||
procedure TCENativeProject.readerPropNoFound(Reader: TReader; Instance: TPersistent;
|
procedure TCENativeProject.readerPropNoFound(Reader: TReader; Instance: TPersistent;
|
||||||
var PropName: string; IsPath: Boolean; var Handled, Skip: Boolean);
|
var PropName: string; IsPath: Boolean; var Handled, Skip: Boolean);
|
||||||
//var
|
|
||||||
//idt: string;
|
|
||||||
//curr: TCompilerConfiguration;
|
|
||||||
begin
|
begin
|
||||||
// continue loading: this method ensures the project compat. in case of drastic changes.
|
// errors are avoided by property deprecation, error here means "not a project".
|
||||||
|
Skip := true;
|
||||||
{curr := self.configuration[OptionsCollection.Count-1];
|
Handled := false;
|
||||||
if PropName = 'debugIdentifier' then
|
|
||||||
begin
|
|
||||||
idt := Reader.ReadUnicodeString; // next prop starts one char too late
|
|
||||||
if curr.debugingOptions.debugIdentifiers.IndexOf(idt) = -1 then
|
|
||||||
curr.debugingOptions.debugIdentifiers.Add(idt);
|
|
||||||
Skip := true;
|
|
||||||
Handled := true;
|
|
||||||
end
|
|
||||||
else if PropName = 'versionIdentifier' then
|
|
||||||
begin
|
|
||||||
idt := Reader.ReadString; // next prop starts one char too late
|
|
||||||
if curr.outputOptions.versionIdentifiers.IndexOf(idt) = -1 then
|
|
||||||
curr.outputOptions.versionIdentifiers.Add(idt);
|
|
||||||
Skip := true;
|
|
||||||
Handled := true;
|
|
||||||
exit;
|
|
||||||
end
|
|
||||||
else}
|
|
||||||
begin
|
|
||||||
Skip := true;
|
|
||||||
Handled := false;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCENativeProject.updateOutFilename;
|
procedure TCENativeProject.updateOutFilename;
|
||||||
|
|
Loading…
Reference in New Issue