mirror of https://gitlab.com/basile.b/dexed.git
protection against loop with DCompiler.global, fix before rising
This commit is contained in:
parent
a517e313ae
commit
c86206d218
|
@ -245,8 +245,8 @@ procedure TCompilersPaths.checkIfGlobalIsGlobal;
|
||||||
begin
|
begin
|
||||||
if globalCompiler = DCompiler.global then
|
if globalCompiler = DCompiler.global then
|
||||||
begin
|
begin
|
||||||
raise Exception.Create('global compiler should not be set to DCompiler.global');
|
|
||||||
globalCompiler := low(DCompiler);
|
globalCompiler := low(DCompiler);
|
||||||
|
raise Exception.Create('global compiler should not be set to DCompiler.global');
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue