Menu

#43 Don't parse code in comment entry paragraphs

v1.0 (example)
closed-fixed
nobody
parser (1)
9
2016-08-01
2013-09-05
Luis R.
No

See testsuite/cobol85/OBNC1M.CBL:

004800     A COMMENT ENTRY PARAGRAPH IS TO BE TREATED AS                OBNC14.2
004900     DOCUMENTATION. ANY ATTEMPT TO COMPILE ANYTHING CONTAINED     OBNC14.2
005000     HERE IS ILLEGAL. THE LINES WHICH FOLLOW CONSTITUTE A TEST    OBNC14.2
005100     OF THIS REQUIREMENT. ALL LINES BEGIN IN AREA B ---           OBNC14.2

Discussion

  • KrisDS

    KrisDS - 2013-09-06

    Yeah, but (as I think I documented somewhere in the Readme) this is a deprecated feature of the language, and one that I have only seen used in this one test example. I wouldn't worry about it too much, unless you (or a user) have some real life code which uses this...

     
  • Luis R.

    Luis R. - 2013-09-06
    • Priority: 5 --> 9
     
  • KrisDS

    KrisDS - 2016-08-01

    Going through the open issues. I added support for comment entries in some expected locations to the grammar a while ago. So I'm closing this. If anyone still has other cases which need to be covered, please open a new issue with a sample.

     
  • KrisDS

    KrisDS - 2016-08-01
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB