mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixed Verilog pre-processor for files with no trailing newline
This commit is contained in:
		
							parent
							
								
									2145e57ef0
								
							
						
					
					
						commit
						e605af8a49
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -198,7 +198,7 @@ static void input_file(FILE *f, std::string filename) | |||
| 		buffer[rc] = 0; | ||||
| 		input_buffer.insert(it, buffer); | ||||
| 	} | ||||
| 	input_buffer.insert(it, "`file_pop\n"); | ||||
| 	input_buffer.insert(it, "\n`file_pop\n"); | ||||
| } | ||||
| 
 | ||||
| std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::map<std::string, std::string> pre_defines_map, const std::list<std::string> include_dirs) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue