[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: gnubol: Re: The token "IS"
Sorry, if I wasn't clearer. It is absolutely true that "IS" never has any
syntactic significance in the '85 Standard. HOWEVER, there are rules
governing when/how it can be used, so you need to "flag" (error) mis-uses of
it, even though it never means anything.
Does that help?
Bill Klein
wmklein <at> ix.netcom.com
> -----Original Message-----
> From: owner-gnu-cobol@wallace.lusars.net
> [mailto:owner-gnu-cobol@wallace.lusars.net]On Behalf Of Mike Mckernan
> Sent: Tuesday, December 07, 1999 10:16 AM
> To: gnu-cobol@lusars.net
> Subject: gnubol: Re: The token "IS"
>
>
> >>>>> "Bill" == Mike Mckernan <mckernan@const.zko.dec.com>
> >>>>> wrote the following on Tue, 7 Dec 1999 11:05:24 -0500 (EST)
>
> Bill> For the '85 Standard, you need some "rules" to handle
> Bill> extensions (or errors) where "is" is used incorrectly, e.g.
>
> Bill> Label Records ARE (not IS) is conforming as is Label
> Bill> Record IS (not ARE)
>
> Bill> There are several other places where IS/ARE distinctions
> Bill> occur - and some places where ONLY "is" is allowed.
>
> I don't have access to the standard at this moment, but if memory
> serves, "IS/ARE" are never required. That means if I should lex out
> "IS" but not "ARE" the input my parser would expect for these cases
> would be:
>
> Label Record Standard
>
> Label Records [ARE] Standard
>
> If there are no other impediments, it should still be OK.
>
>
> --
> This message was sent through the gnu-cobol mailing list. To
> remove yourself
> from this mailing list, send a message to majordomo@lusars.net with the
> words "unsubscribe gnu-cobol" in the message body. For more information on
> the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.
--
This message was sent through the gnu-cobol mailing list. To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body. For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.