That is one possibility.
Another is that if the version specifier is not recognized, that the directive
have no effect.
Shalom
On Wed, 1 Dec 2004, Stuart Sutherland wrote:
> Geoffrey,
>
> The 'keywords proposals states:
>
> "If no 'keywords directive is specified, then the default reserved
> keyword list shall be implementation dependent. The lack of a 'keywords
> directive is the same as if the directive 'keywords "default" had been
> specified."
>
> I assumed that would infer that the version specifier to `keywords had
> to be recognized by the compiler. If more explicit wording is needed, I
> am fine with making an amendment to that effect. Perhaps the above
> should be changed to:
>
> "If no 'keywords directive is specified, or the version_specifier for
> the `keyword directive is not recognized, then the default reserved
> keyword list shall be implementation dependent. The lack of a 'keywords
> directive is the same as if the directive 'keywords "default" had been
> specified."
>
> Since no amendment to this effect was approved in yesterday's vote on
> the proposal, however, I think this change would now have to be a
> "friendly amendment" made at the 1800 working group level, when they
> give final approval to the proposal.
>
> Stu
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Stuart Sutherland
> stuart@sutherland-hdl.com
> +1-503-692-0898
>
>
> > -----Original Message-----
> > From: owner-sv-bc@eda.org [ <mailto:owner-sv-bc@eda.org>
> mailto:owner-sv-bc@eda.org] On
> > Behalf Of Geoffrey.Coram
> > Sent: Wednesday, December 01, 2004 9:05 AM
> > To: Shalom.Bresticker@freescale.com
> > Cc: Stuart Sutherland; sv-bc@eda.org
> > Subject: Re: [sv-bc] Updated proposal for `keywords
> > compatibility directive
> >
> > I agree with Shalom that his example should be included.
> >
> > Also, the proposal does not say what should happen if the
> > version_specifier is not on the list / not recognized by the
> > compiler. I suppose it's implicitly a syntax error if the
> > string is not in the list. I think this should be explicitly
> > mentioned.
> >
> > -Geoffrey
> >
> >
> >
> >
> > Shalom.Bresticker@freescale.com wrote:
> > > I still think that the most typical, useful, and
> > instructive example
> > > is missing: using a `keywords "1364-2005" directive to
> > allow the use
> > > of 1800 keywords within older code.
> >
> >
>
>
-- Shalom Bresticker Shalom.Bresticker @freescale.com Design & Verification Methodology Tel: +972 9 9522268 Freescale Semiconductor Israel, Ltd. Fax: +972 9 9522890 POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 5441478 [ ]Freescale Internal Use Only [ ]Freescale Confidential ProprietaryReceived on Wed Dec 1 12:48:39 2004
This archive was generated by hypermail 2.1.8 : Wed Dec 01 2004 - 12:48:42 PST