mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Support optional labels at the end of module definition
Signed-off-by: Lukasz Dalek <ldalek@antmicro.com>
This commit is contained in:
		
							parent
							
								
									0835a86e30
								
							
						
					
					
						commit
						3b81a1b809
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -435,7 +435,7 @@ module: | |||
| 		mod->str = *$4; | ||||
| 		append_attr(mod, $1); | ||||
| 		delete $4; | ||||
| 	} module_para_opt module_args_opt ';' module_body TOK_ENDMODULE { | ||||
| 	} module_para_opt module_args_opt ';' module_body TOK_ENDMODULE opt_label { | ||||
| 		if (port_stubs.size() != 0) | ||||
| 			frontend_verilog_yyerror("Missing details for module port `%s'.", | ||||
| 					port_stubs.begin()->first.c_str()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue