mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Set Verilog source location for explicit blocks (begin ... end).
				
					
				
			This commit is contained in:
		
							parent
							
								
									10a814f978
								
							
						
					
					
						commit
						00d74f0b9c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -2246,6 +2246,7 @@ behavioral_stmt: | |||
| 		exitTypeScope(); | ||||
| 		if ($4 != NULL && $8 != NULL && *$4 != *$8) | ||||
| 			frontend_verilog_yyerror("Begin label (%s) and end label (%s) don't match.", $4->c_str()+1, $8->c_str()+1); | ||||
| 		SET_AST_NODE_LOC(ast_stack.back(), @2, @8); | ||||
| 		delete $4; | ||||
| 		delete $8; | ||||
| 		ast_stack.pop_back(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue