diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-01-07 16:36:13 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-01-07 16:36:13 +0100 |
commit | a96c775a7301645b27486a5e663c75fca460f577 (patch) | |
tree | 18ab72d9bcf1fe0da59e993f71dc2ccf09f21066 /passes/cmds/tee.cc | |
parent | 446ccf1f05b2b36db9161bf4ab050778a1cbaee6 (diff) | |
download | yosys-a96c775a7301645b27486a5e663c75fca460f577.tar.gz yosys-a96c775a7301645b27486a5e663c75fca460f577.tar.bz2 yosys-a96c775a7301645b27486a5e663c75fca460f577.zip |
Add support for "yosys -E"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'passes/cmds/tee.cc')
-rw-r--r-- | passes/cmds/tee.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/cmds/tee.cc b/passes/cmds/tee.cc index 3db2dbf0e..b68c089e9 100644 --- a/passes/cmds/tee.cc +++ b/passes/cmds/tee.cc @@ -65,6 +65,7 @@ struct TeePass : public Pass { if ((args[argidx] == "-o" || args[argidx] == "-a") && argidx+1 < args.size()) { const char *open_mode = args[argidx] == "-o" ? "w" : "a+"; FILE *f = fopen(args[++argidx].c_str(), open_mode); + yosys_input_files.insert(args[argidx]); if (f == NULL) { for (auto cf : files_to_close) fclose(cf); |