3
0
Fork 0
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:
Clifford Wolf 2014-11-07 12:48:15 +01:00
parent a346c0bf2b
commit 99cdfb3110
5 changed files with 9 additions and 9 deletions

View file

@ -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)

View file

@ -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);