RE: [sv-ec] Void typecasting to a function


Subject: RE: [sv-ec] Void typecasting to a function
From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Fri Sep 05 2003 - 09:02:17 PDT


Kausik,

A SV-BC proposal for fixing the problem you point out is at --

          http://www.eda.org/sv-bc/hm/1011.html

-- Brad

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org]On Behalf Of
Kausik Datta
Sent: Friday, September 05, 2003 8:50 AM
To: sv-ec
Subject: [sv-ec] Void typecasting to a function

Hi,
The BNF for primary (A.8.4) says
primary ::= void '(function_call)

Can we use a void casted function call as a part of any expression?
If it's meant for using the void casted function call as a statement or
function statement only can we enhance the
BNF sec. A.6.4 with
statement_item ::= void '(function_call)
and
function_statement_item ::= void '(function_call)

and remove this rule from sec. A.8.4

Thanks
Kausik



This archive was generated by hypermail 2b28 : Fri Sep 05 2003 - 09:28:25 PDT