From 13b50bacfee1ea1651cbdccd7522f3d03cab5675 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 25 Jan 2015 22:57:09 +0100 Subject: Rethrow with "catch(...) throw;" --- kernel/yosys.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel') diff --git a/kernel/yosys.cc b/kernel/yosys.cc index d5467afe1..b280d3344 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -720,9 +720,9 @@ void run_frontend(std::string filename, std::string command, RTLIL::Design *desi Pass::call(design, command); } } - catch (log_cmd_error_exception) { + catch (...) { Frontend::current_script_file = backup_script_file; - throw log_cmd_error_exception(); + throw; } Frontend::current_script_file = backup_script_file; -- cgit v1.2.3