[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.