|
From: Evan L. <sa2...@cy...> - 2020-10-03 07:08:46
|
On 01/10/2020 14:47, Martin Whitaker wrote:
> Can you give an example of this.
Ok, worked it out: if the task is declared with brackets around the
formals, but there are no formals, then a warning is raised. If the task
is declared without brackets, then no warning is raised.
I guess the square brackets around 'task_port_list' below weren't noticed?
-E
task_declaration ::= (From A.2.7)
task [ automatic ] task_identifier ;
{ task_item_declaration }
statement_or_null
endtask
| task [ automatic ] task_identifier ( [ task_port_list ] ) ;
{ block_item_declaration }
statement_or_null
endtask
|