mirror of https://gitlab.com/basile.b/dexed.git
libman,sources root detection, handle package as di
This commit is contained in:
parent
cbb108343f
commit
05210bb82d
|
@ -900,7 +900,7 @@ begin
|
|||
srcc.LoadFromFile(path);
|
||||
lex(srcc.Text, toks, @lexFindToken, [lxoNoComments]);
|
||||
mnme := getModuleName(toks);
|
||||
if path.extractFileName = 'package.d' then
|
||||
if path.extractFileName.stripFileExt = 'package' then
|
||||
mnme := mnme + '.p';
|
||||
toks.Clear;
|
||||
setLength(fldn, 0);
|
||||
|
|
Loading…
Reference in New Issue