mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Rethrow with "catch(...) throw;"
This commit is contained in:
		
							parent
							
								
									acfaeb8d34
								
							
						
					
					
						commit
						13b50bacfe
					
				
					 3 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue