diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-11-07 12:48:15 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-11-07 12:48:15 +0100 |
commit | 99cdfb31106cc399072f129d912fa8377d919e2e (patch) | |
tree | 192c3642690c4b4a936aaab9c9c48ea601ae4f9b /passes/cmds | |
parent | a346c0bf2b0ed5278e0f86d4ef23a6a9d03eef40 (diff) | |
download | yosys-99cdfb31106cc399072f129d912fa8377d919e2e.tar.gz yosys-99cdfb31106cc399072f129d912fa8377d919e2e.tar.bz2 yosys-99cdfb31106cc399072f129d912fa8377d919e2e.zip |
Fixed typo in "log_cmd_error_exception"
Diffstat (limited to 'passes/cmds')
-rw-r--r-- | passes/cmds/tee.cc | 4 | ||||
-rw-r--r-- | passes/cmds/trace.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/passes/cmds/tee.cc b/passes/cmds/tee.cc index 8ef4c89e7..e83c93871 100644 --- a/passes/cmds/tee.cc +++ b/passes/cmds/tee.cc @@ -76,11 +76,11 @@ struct TeePass : public Pass { try { std::vector<std::string> new_args(args.begin() + argidx, args.end()); Pass::call(design, new_args); - } catch (log_cmd_error_expection) { + } catch (log_cmd_error_exception) { for (auto cf : files_to_close) fclose(cf); log_files = backup_log_files; - throw log_cmd_error_expection(); + throw log_cmd_error_exception(); } for (auto cf : files_to_close) diff --git a/passes/cmds/trace.cc b/passes/cmds/trace.cc index ac61be081..10c67195f 100644 --- a/passes/cmds/trace.cc +++ b/passes/cmds/trace.cc @@ -85,9 +85,9 @@ struct TracePass : public Pass { try { std::vector<std::string> new_args(args.begin() + argidx, args.end()); Pass::call(design, new_args); - } catch (log_cmd_error_expection) { + } catch (log_cmd_error_exception) { design->monitors.erase(&monitor); - throw log_cmd_error_expection(); + throw log_cmd_error_exception(); } design->monitors.erase(&monitor); |