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

Re: gnubol: IBM flags nested conditionals as error (RC=8) but recovers OK



At this stage I tend to agree with Bill. I don't think people should get too
outraged if we do not duplicate IBM's error recovery from a flagged error. But
given we have to parse the structure as though we are going to use it, this is a
decision that can be changed easily later on. But the programmer needs to be
informed that it's an error in any case.

I would love to see how it handles nested conditional evaluate/search but I have
run out of brownie points. I will try it when I get back to work.

Tim Josling

Michael McKernan wrote:

> Excellent, Tim.  We now have three compilers that give hard errors,
> two that accept without warnings and the important one that issues a
> severe warning but generates code.  That seems to clear up what the
> IBM doc that Bob cited was saying.  I think the IBM method sounds
> like good policy.


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