mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge pull request #10 from hansiglaser/master
fixed Verilog parser filename and line numbering issue with include files
This commit is contained in:
		
						commit
						8409956c0c
					
				
					 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