Re: [sv-bc] Updated proposal for `keywords compatibility directive

From: Geoffrey.Coram <Geoffrey.Coram@analog.com>
Date: Wed Dec 01 2004 - 13:13:01 PST

I originally felt it should be an error if the version_specifier
is not recognized.

For either Shalom's or Stuart's behavior, wouldn't the syntax have to be:
version_specifier ::=
   "1364-1995"
 | "1364-2001"
...
 | unrecognized_string

?

I still think it should be an error. If I wrote "1800-2010" and
my simulator didn't know what the correct keyword list for that
version is, then it might accept my module that uses a 1800-2010
keyword as an identifier, and I'd think my module was portable.
But a simulator that knows the actual keyword list would exit.

Also, if I have a typo ("1364-19995") and thus the directive has
no effect, then I get lots of bizarre errors for all my P1800
keywords that I'm using as identifiers.

-Geoffrey

Shalom.Bresticker@freescale.com wrote:
>
> That is one possibility.
> Another is that if the version specifier is not recognized, that the directive
> have no effect.

> On Wed, 1 Dec 2004, Stuart Sutherland wrote:
> > "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.
Received on Wed Dec 1 13:13:11 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 01 2004 - 13:13:14 PST