uwol / proleap-cobol-parser

ProLeap ANTLR4-based parser for COBOL
MIT License
136 stars 74 forks source link

DISPLAY keyword in FILE-CONTROL #10

Closed albertolovato closed 6 years ago

albertolovato commented 7 years ago

The parser does not expect DISPLAY keyword not referring to the printing statement, as in

file-control.
    select standard-input assign to keyboard.
    select standard-output assign to display.
uwol commented 6 years ago

Thanks, you found a bug! Fixed in a6886eab6e8f4a5616a4d2db42dcd6a811a43ed0. Added a unit test.