uwol / proleap-cobol-parser

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

Local-storage section not parsed correctly #5

Closed albertolovato closed 7 years ago

albertolovato commented 7 years ago

I see that in Cobol85.g4, line 597, the parser expects LD localName DOT_FS before the data entries. Is this correct? Thank you

uwol commented 7 years ago

The obligatory LD depends on the dialect. I changed it in the grammar to being optional. Thanks for your hint!