Merge pull request #1098 from tdesveauxPKFX/d/vstudio/remove-dcompile-block

Prevent D module from adding D block in unrelated projects
This commit is contained in:
Thomas Desveaux 2018-05-29 20:58:32 +02:00 committed by GitHub
commit ff732af5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,11 @@
end end
function m.dCompile(cfg) function m.dCompile(cfg)
p.push('<DCompile>') if config.hasFile(cfg, path.isdfile) then
p.callArray(m.elements.dCompile, cfg) p.push('<DCompile>')
p.pop('</DCompile>') p.callArray(m.elements.dCompile, cfg)
p.pop('</DCompile>')
end
end end
--- ---