mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +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
|
@ -668,9 +668,9 @@ void run_frontend(std::string filename, std::string command, RTLIL::Design *desi
|
|||
Pass::call(design, command);
|
||||
}
|
||||
}
|
||||
catch (log_cmd_error_expection) {
|
||||
catch (log_cmd_error_exception) {
|
||||
Frontend::current_script_file = backup_script_file;
|
||||
throw log_cmd_error_expection();
|
||||
throw log_cmd_error_exception();
|
||||
}
|
||||
|
||||
Frontend::current_script_file = backup_script_file;
|
||||
|
@ -852,7 +852,7 @@ void shell(RTLIL::Design *design)
|
|||
try {
|
||||
log_assert(design->selection_stack.size() == 1);
|
||||
Pass::call(design, command);
|
||||
} catch (log_cmd_error_expection) {
|
||||
} catch (log_cmd_error_exception) {
|
||||
while (design->selection_stack.size() > 1)
|
||||
design->selection_stack.pop_back();
|
||||
log_reset_stack();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue