mirror of https://gitlab.com/basile.b/dexed.git
fix, <CPFS> passed with Add() instead of AddText()
broke the analysis in projects. AddText() adds serveral separated items.
This commit is contained in:
parent
fc7f55c493
commit
e6e007ae25
|
@ -272,7 +272,6 @@ begin
|
||||||
if not exeInSysPath(ToolExeName) then exit;
|
if not exeInSysPath(ToolExeName) then exit;
|
||||||
ctxt := getContext;
|
ctxt := getContext;
|
||||||
if ctxt = tcNone then exit;
|
if ctxt = tcNone then exit;
|
||||||
if (fDoc = nil) and (fProj = nil)then exit;
|
|
||||||
//
|
//
|
||||||
killToolProcess;
|
killToolProcess;
|
||||||
// process parameter
|
// process parameter
|
||||||
|
@ -291,8 +290,8 @@ begin
|
||||||
fToolProcess.OnReadData := @procOutput;
|
fToolProcess.OnReadData := @procOutput;
|
||||||
|
|
||||||
// files passed to the tool argument
|
// files passed to the tool argument
|
||||||
if ctxt = tcProject then fToolProcess.Parameters.Add(symbolExpander.get('<CPFS>'))
|
if ctxt = tcProject then fToolProcess.Parameters.AddText(symbolExpander.get('<CPFS>'))
|
||||||
else fToolProcess.Parameters.AddText(symbolExpander.get('<CFF>'));
|
else fToolProcess.Parameters.Add(symbolExpander.get('<CFF>'));
|
||||||
//
|
//
|
||||||
fToolProcess.Execute;
|
fToolProcess.Execute;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue