mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Replacing log_error for log_file_error due consistency
This commit is contained in:
		
							parent
							
								
									92809bb1d3
								
							
						
					
					
						commit
						c859bcf71b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -140,8 +140,7 @@ static void my_strtobin(std::vector<RTLIL::State> &data, const char *str, int le | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if (len_in_bits == 0) | 	if (len_in_bits == 0) | ||||||
| 		log_error("Illegal integer constant size of zero in %s:%d (IEEE 1800-2012, 5.7).\n", | 		log_file_error(current_filename, get_line_num(), "Illegal integer constant size of zero (IEEE 1800-2012, 5.7).\n"); | ||||||
| 				current_filename.c_str(), get_line_num()); |  | ||||||
| 
 | 
 | ||||||
| 	if (len > len_in_bits) | 	if (len > len_in_bits) | ||||||
| 		log_warning("Literal has a width of %d bit, but value requires %d bit. (%s:%d)\n", | 		log_warning("Literal has a width of %d bit, but value requires %d bit. (%s:%d)\n", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue