mirror of https://gitlab.com/basile.b/dexed.git
fix, only handle source, not obj/o
This commit is contained in:
parent
4fb2794763
commit
2fbed556fb
|
@ -451,6 +451,8 @@ begin
|
|||
fDmdProc.CurrentDirectory := extractFilePath(fProj.fileName);
|
||||
for i := 0 to fProj.Sources.Count-1 do begin
|
||||
itm := fProj.getAbsoluteSourceName(i);
|
||||
if dExtList.IndexOf(ExtractFileExt(itm)) = -1 then
|
||||
continue;
|
||||
if srcFname <> itm then fDmdProc.Parameters.Add(itm);
|
||||
end;
|
||||
for itm in fProj.currentConfiguration.pathsOptions.importModulePaths do
|
||||
|
|
|
@ -118,6 +118,7 @@ procedure TCESymbolExpander.updateSymbols;
|
|||
var
|
||||
hasProj: boolean;
|
||||
hasDoc: boolean;
|
||||
fname: string;
|
||||
i: Integer;
|
||||
const
|
||||
na = '``';
|
||||
|
@ -166,7 +167,10 @@ begin
|
|||
fSymbols[CPFS] := '';
|
||||
for i := 0 to fProj.Sources.Count-1 do
|
||||
begin
|
||||
fSymbols[CPFS] += fProj.getAbsoluteSourceName(i);
|
||||
fname := fProj.getAbsoluteSourceName(i);
|
||||
if dExtList.IndexOf(ExtractFileExt(fname)) = -1 then
|
||||
continue;
|
||||
fSymbols[CPFS] += fname;
|
||||
if fProj.Sources.Count > 1 then
|
||||
if i <> fProj.Sources.Count-1 then
|
||||
fSymbols[CPFS] += LineEnding;
|
||||
|
|
Loading…
Reference in New Issue