summaryrefslogtreecommitdiff
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-11-07 12:48:15 +0100
committerClifford Wolf <clifford@clifford.at>2014-11-07 12:48:15 +0100
commit99cdfb31106cc399072f129d912fa8377d919e2e (patch)
tree192c3642690c4b4a936aaab9c9c48ea601ae4f9b /kernel/yosys.cc
parenta346c0bf2b0ed5278e0f86d4ef23a6a9d03eef40 (diff)
Fixed typo in "log_cmd_error_exception"
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index d4365ee0..6cc64315 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -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();