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

Re: gnubol: Re: The token "IS"



Most places in the grammar, IS/ARE are not allowed. Even if they were optional
everywhere they can be used, you cannot diagnose:

display is "hello".

if you lex them out.

This is a syntax error and should be flagged IMO. On the other hand commas as
separate tokens are just noise and can be anywhere so they can be lexed out.

Tim Josling

Mike Mckernan wrote:

>
>         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.