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:
martinwhitaker
2020-07-10 22:47:53 +01:00
committed by GitHub
+1 -1
View File
@@ -1412,7 +1412,7 @@ function_declaration /* IEEE1800-2005: A.2.6 */
{ assert(current_function == 0);
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
{ current_function->set_ports($7);
current_function->set_return($3);