Erratta for tasks/function declarations in the BNF.

From: Adam Krolnik (adamk@cyrix.com)
Date: Thu Feb 19 1998 - 22:53:49 PST


>From reading the proposed 1998 BNF, it was noted that the 1995 version
of task and function declarations allowed no statements within a
task or function.

This is in fact false, you must have one statement.

module test;

task a;
 input b;
endtask

function f;
  input b;
endfunction

Both of these are syntax errors in XL.

Propose to specify 'statement' instead of 'statement_or_null'.

<p> Adam Krolnik
       Verification Engineer
       Cyrix - NSM.
       Richardson TX. 75085



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:52:45 PDT and
sponsored by Boyd Technology, Inc.