[sv-ec] Void typecasting to a function


Subject: [sv-ec] Void typecasting to a function
From: Kausik Datta (kausikd@cal.interrasystems.com)
Date: Fri Sep 05 2003 - 08:49:56 PDT


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 - 08:53:49 PDT