diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-31 15:02:16 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-31 15:02:16 +0200 |
commit | b5a9e51b966abdfedc9309defa79b5141928e84a (patch) | |
tree | b29131a58350bbbd22b307484daf95f4204e6c1c /passes/cmds/tee.cc | |
parent | cd9407404a7bf3a5b8735af00c8f13ff97ac1495 (diff) | |
download | yosys-b5a9e51b966abdfedc9309defa79b5141928e84a.tar.gz yosys-b5a9e51b966abdfedc9309defa79b5141928e84a.tar.bz2 yosys-b5a9e51b966abdfedc9309defa79b5141928e84a.zip |
Added "trace" command
Diffstat (limited to 'passes/cmds/tee.cc')
-rw-r--r-- | passes/cmds/tee.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/tee.cc b/passes/cmds/tee.cc index e2f69e599..6f80ef72c 100644 --- a/passes/cmds/tee.cc +++ b/passes/cmds/tee.cc @@ -73,11 +73,11 @@ struct TeePass : public Pass { try { std::vector<std::string> new_args(args.begin() + argidx, args.end()); Pass::call(design, new_args); - } catch (int ex) { + } catch (log_cmd_error_expection) { for (auto cf : files_to_close) fclose(cf); log_files = backup_log_files; - throw ex; + throw log_cmd_error_expection(); } for (auto cf : files_to_close) |