Subject: [sv-ec] Re: Support for static global constants in class
From: Stefen Boyd (stefen@boyd.com)
Date: Fri Apr 11 2003 - 16:04:44 PDT
Looks like static in classes was completely overlooked in the
BNF.
REMOVE (A.1.8):
hiding_property ::=
protected
| private
ADD (A.1.8 after class_item):
class_item_property ::=
static
| protected
| private
REPLACE all occurrences of hiding_property with class_item_property
REPLACE (A.1.8):
extern_method_declaration ::=
{ tf_property } function [ automatic ] class_identifier ::
function_body_declaration
| { tf_property } task [ automatic ] class_identifier ::
task_body_declaration
WITH:
extern_method_declaration ::=
{ tf_property } function [ lifetime ] class_identifier ::
function_body_declaration
| { tf_property } task [ lifetime ] class_identifier ::
task_body_declaration
REPLACE (A.2.6):
function_declaration ::=
function [ automatic ] function_body_declaration
WITH:
function_declaration ::=
function [ lifetime ] function_body_declaration
REPLACE (A.2.7):
task_declaration ::= task [ automatic ] task_body_declaration
WITH:
task_declaration ::= task [ lifetime ] task_body_declaration
At 03:10 PM 4/11/2003 -0700, David W. Smith wrote:
>
>In Section 11.17 we clearly support the following:
>
>static const int size = 0;
>
>According to Francoise the BNF does not support this. Can you please
>provide me with either verification that the BNF works or a correction to
>the BNF to support this? Today?
>
>Regards
>David
>
>David W. Smith
>Synopsys Scientist
>
>Synopsys, Inc.
>Synopsys Technology Park
>2025 NW Cornelius Pass Road
>Hillsboro, OR 97124
>
>Voice: 503.547.6467
>Main: 503.547.6000
>FAX: 503.547.6906
>Email: <mailto:david.smith@synopsys.com>david.smith@synopsys.com
>http://www.synopsys.com
>
This archive was generated by hypermail 2b28 : Fri Apr 11 2003 - 16:07:01 PDT