Merge pull request #334 from purdeaandrei/f_fix_portless_declarationless_functions
Fix port-list-less declaration-less functions for SystemVerilog
This commit is contained in:
commit
07256646a5
2
parse.y
2
parse.y
|
|
@ -1412,7 +1412,7 @@ function_declaration /* IEEE1800-2005: A.2.6 */
|
||||||
{ assert(current_function == 0);
|
{ assert(current_function == 0);
|
||||||
current_function = pform_push_function_scope(@1, $4, $2);
|
current_function = pform_push_function_scope(@1, $4, $2);
|
||||||
}
|
}
|
||||||
function_item_list statement_or_null_list_opt
|
function_item_list_opt statement_or_null_list_opt
|
||||||
K_endfunction
|
K_endfunction
|
||||||
{ current_function->set_ports($7);
|
{ current_function->set_ports($7);
|
||||||
current_function->set_return($3);
|
current_function->set_return($3);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue