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

Re: [GNU-COBOL] Problem in using yacc to parse COBOL grammar



Just a little nit.

I think he got the data types reversed.  First case A OF B is data item modifying the number of TIMES to PERFORM.  Second case A OF B is paragraph name.

>>> David Essex <dessex@aracnet.net> 06/29/99 12:20PM >>>

<snip>
>PERFORM A OF B TIMES ... END-PERFORM 
>vs 
>PERFORM A OF B MOVE X TO Y
>
>After we read tokens PERFORM A OF B, 
>we need to see either TIMES or verb token
>to determine how to treat PERFORM statement
>and what termination it will have.
>
>In the 1st case A OF B is paragraph name,
>in the 2nd case A OF B is data item name.
>
<snip>


--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@acm.cs.umr.edu with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@acm.cs.umr.edu.