mirror of https://github.com/YosysHQ/yosys.git
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
|
@ -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…
Reference in New Issue