Menu

#62 Changes to socket samples.

contrib
closed
nobody
None
5 - default
2023-10-05
2023-10-05
wmealing
No

I have some changes to the socket example to ensure it compiles on gnucobol 3.2 . The "message" is now reserved word, on my system this sample no longer compiles.

I have made modifications renaming 'message' to 'message-data'.

If I haven't followed conventions or formatting, apologies in advance. I assign all copyrights to the GNUcobol project under whatever license is deemed correct for use.

Thank you.

1 Attachments

Discussion

  • Simon Sobisch

    Simon Sobisch - 2023-10-05

    Ticket moved from /p/gnucobol/bugs/919/

     
  • Simon Sobisch

    Simon Sobisch - 2023-10-05
    • status: open --> closed
    • Group: unclassified --> contrib
     
  • Simon Sobisch

    Simon Sobisch - 2023-10-05

    Thank you, I've checked that in with [contrib:r1062].

    That brought up an interesting issue: MESSAGE is actually not reserved at all in COBOL 2023 (that is an error), and should be context-sensitive in GnuCOBOL (will adjust that for GnuCOBOL 3.3).

     

    Related

    Commit: [r1062]


Log in to post a comment.