#46 Not all input was consumed: "Identification division" with CPY file extension

v1.0 (example)
closed-fixed
nobody
None
5
2015-02-27
2013-09-08
No

Tested with r152
Simply rename a working .cob/.cbl into .cpy and parse this, result: not working any more :-)

FYI: a copy file can include a whole program

Simon

Discussion

  • Luis R.

    Luis R. - 2013-09-13

    CPYs are a pain to parse. Not only can they contain a whole program, they may contain partial statements. (I've seen a few examples of that already.)

     
  • Simon Sobisch

    Simon Sobisch - 2013-09-13

    Yes parsing of copy books can be a little bit tricky - but if there is a
    full program as a copy file there should be no problem at all (or in the
    sample I've trying to get parsed a clean program start).

    Simon

     
    Last edit: Simon Sobisch 2013-09-13
  • Simon Sobisch

    Simon Sobisch - 2013-09-19
    • summary: Not all input was consumed: "Identification division" --> Not all input was consumed: "Identification division" with CPY file extension
     
  • KrisDS

    KrisDS - 2015-02-27

    I tweaked copybooks to be able to act as regular compilation groups in [r213].

     

    Related

    Commit: [r213]

  • KrisDS

    KrisDS - 2015-02-27
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks