mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	fixed Verilog parser filename and line numbering issue with include files
This commit is contained in:
		
							parent
							
								
									a99c224157
								
							
						
					
					
						commit
						f352205635
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -71,7 +71,9 @@ namespace VERILOG_FRONTEND { | |||
| 
 | ||||
| "`file_pop"[^\n]*\n { | ||||
| 	current_filename = fn_stack.back(); | ||||
| 	fn_stack.pop_back(); | ||||
| 	frontend_verilog_yyset_lineno(ln_stack.back()); | ||||
| 	ln_stack.pop_back(); | ||||
| } | ||||
| 
 | ||||
| "`file_notfound "[^\n]* { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue