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

RE: gnubol: Hacks needed to parse COBOL



> -----Original Message-----
  <snip>
> 
> I found another problem fixing these ones. This comes from accommodating
> nested conditional expressions.
> 
> add a to b 
>     size error
>        unstring
>            on
> 
> After 'on' could be 'overflow' or 'size'.
> 
> If it's 'overflow', then the unstring continues, if 'size' then the
> unstring is finished and should be reduced. This is an SR conflict but
> shifting does not resolve it. We need to know what is coming.
> 
> So I have removed one hack and added another, but the parser is
> improved, so thanks.
> 

Did you also handle CALL - with ON EXCEPTION/ON OVERFLOW as well as STRING?



Bill Klein
  wmklein <at> ix.netcom.com


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