uwol / proleap-cobol-parser

ProLeap ANTLR4-based parser for COBOL
MIT License
137 stars 76 forks source link

REPLACE with new line before dot #69

Open albertolovato opened 6 years ago

albertolovato commented 6 years ago

The following code (new line before dot) causes error java.lang.RuntimeException: syntax error in line 10:11 extraneous input 'ADD' expecting {BY, NEWLINE}

`

       REPLACE ==ADD 1== BY ==ADD 3==
       .
       ADD 1 TO x.

`