Number | 346
|
Category | errata
|
Synopsis | A.2.6: no attributes on old-style function arguments
|
State | lrmdraft
|
Class | errata-simple
|
Arrival-Date | May 14 2003
|
Originator | sharp@cadence.com
|
Release | 2001b: A.2.6
|
Environment |
|
Description |
In the BNF for function_item_declaration, there is no attribute before tf_input_declaration. This means that an attribute can be attached to a function input in an ANSI-C style function declaration, but not in an old-style one. This appears to be a simple oversight, since in the BNF for task_item_declaration, attributes are allowed for old-style task arguments. |
Fix |
Change the production in A.2.6 FROM: function_item_declaration ::= block_item_declaration | tf_input_declaration ; TO: function_item_declaration ::= block_item_declaration | {attribute_instance} tf_input_declaration ; |
Audit-Trail |
From: Shalom.Bresticker@motorola.com To: etf-bugs@boyd.com Cc: Subject: Re: errata/346: PROPOSAL - A.2.6 no attributes on old-style function arguments Date: Mon, 10 Nov 2003 19:39:26 +0200 (IST) This occurs in 10.3.1 (Syntax 10-3) as well, and I fixed it there also. Shalom > Change the production in A.2.6 > > FROM: > > function_item_declaration ::= > block_item_declaration > | tf_input_declaration ; > > TO: > > function_item_declaration ::= > block_item_declaration > | {attribute_instance} tf_input_declaration ; > > http://boydtechinc.com/cgi-bin/issueproposal.pl?cmd=view&pr=346 -- Shalom Bresticker Shalom.Bresticker@motorola.com Design & Reuse Methodology Tel: +972 9 9522268 Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890 POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478 |
Unformatted |
|
Hosted by Boyd Technology