mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	select.cc: Re-add '=' to empty selection warning
This commit is contained in:
		
							parent
							
								
									824f7146aa
								
							
						
					
					
						commit
						cacea737bc
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1008,12 +1008,16 @@ static void select_stmt(RTLIL::Design *design, std::string arg, bool disable_emp
 | 
			
		|||
 | 
			
		||||
	for (auto &it : arg_mod_found) {
 | 
			
		||||
		if (it.second == false && !disable_empty_warning) {
 | 
			
		||||
			log_warning("Selection \"%s\" did not match any module.\n", it.first.c_str());
 | 
			
		||||
			std::string selection_str = select_blackboxes ? "=" : "";
 | 
			
		||||
			selection_str += it.first;
 | 
			
		||||
			log_warning("Selection \"%s\" did not match any module.\n", selection_str.c_str());
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	for (auto &it : arg_memb_found) {
 | 
			
		||||
		if (it.second == false && !disable_empty_warning) {
 | 
			
		||||
			log_warning("Selection \"%s\" did not match any object.\n", it.first.c_str());
 | 
			
		||||
			std::string selection_str = select_blackboxes ? "=" : "";
 | 
			
		||||
			selection_str += it.first;
 | 
			
		||||
			log_warning("Selection \"%s\" did not match any object.\n", selection_str.c_str());
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue