[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnubol: COBOL Grammar Nucleus Level 2 with error productions
Tim Josling wrote:
> I've added error productions to the grammar at timjosling.homepage.com. Basically
> I am rcovering at full stops, and prior to the next verb.
>
> This means that
>
> IF error
> display
> ELSE
> display
> END-IF
>
> Will produce errors at the ELSE and END-IF. I haven't been able to produce error
> productions that don't produce zillions on grammar conflicts to deal with these
> situations.
The same behavior is still shown by some mainframe compilers, e.g. Siemens and Bull.
Regards,
Fred Mobach
--
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.