aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/driver.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-04-30 17:00:34 +0200
committerGitHub <noreply@github.com>2019-04-30 17:00:34 +0200
commitd9d50b0b0c4da21c9bf2b0f1499297368b808491 (patch)
tree6a926310738ae81a1b98f74066e79f423310b33b /kernel/driver.cc
parent727eec04c53c6863b18883a5afd7cee1cb52a157 (diff)
parent58e991a0eb36f0a5a23170e6818338efa7445a44 (diff)
downloadyosys-d9d50b0b0c4da21c9bf2b0f1499297368b808491.tar.gz
yosys-d9d50b0b0c4da21c9bf2b0f1499297368b808491.tar.bz2
yosys-d9d50b0b0c4da21c9bf2b0f1499297368b808491.zip
Merge branch 'master' into eddie/refactor_synth_xilinx
Diffstat (limited to 'kernel/driver.cc')
-rw-r--r--kernel/driver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index 1bc7a5935..f273057dd 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -529,13 +529,13 @@ int main(int argc, char **argv)
log_error("Can't open dependencies file for writing: %s\n", strerror(errno));
bool first = true;
for (auto fn : yosys_output_files) {
- fprintf(f, "%s%s", first ? "" : " ", fn.c_str());
+ fprintf(f, "%s%s", first ? "" : " ", escape_filename_spaces(fn).c_str());
first = false;
}
fprintf(f, ":");
for (auto fn : yosys_input_files) {
if (yosys_output_files.count(fn) == 0)
- fprintf(f, " %s", fn.c_str());
+ fprintf(f, " %s", escape_filename_spaces(fn).c_str());
}
fprintf(f, "\n");
}