mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fixed typo in "log_cmd_error_exception"
This commit is contained in:
parent
a346c0bf2b
commit
99cdfb3110
5 changed files with 9 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue