uwol / proleap-cobol-parser

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

<> operator not recognized #42

Closed albertolovato closed 6 years ago

albertolovato commented 6 years ago

The <> operator is not recognized as NOT_EQUAL, as in:

`line 8:17 no viable alternative at input 'x <>'

   ...
   IF x <> 5
       ADD 1 TO x.
   ...

`

uwol commented 6 years ago

Fixed in 8619c6f0321e7454282d269044a3347d4c437afb and added unit test. Thanks!