mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-14 15:16:07 +03:00
Write JSON file with -Xi without -X/-Xf
Fixes dmd-testsuite's compilable/jsonNoOutFile.d.
This commit is contained in:
parent
db4867d437
commit
64d79ef753
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ void parseCommandLine(Strings &sourceFiles) {
|
|||
global.params.docdir.length || global.params.docname.length;
|
||||
|
||||
global.params.jsonfilename = opts::fromPathString(jsonFile);
|
||||
if (global.params.jsonfilename.length) {
|
||||
if (global.params.jsonfilename.length || !jsonFields.empty()) {
|
||||
global.params.doJsonGeneration = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue