> What else am I missing? Are you certain you mean the '.' at the end of the command to be optional? An initial scan seems to indicate only one optional '.' in the tinyCobol grammar, in procedure declarations.
Likewise, an uneducated glance at another COBOL grammar: http://www.cs.vu.nl/grammarware/browsable/cobol/#EBNF seemed to indicate the "." is rarely optional. Or put another way, at the end of a command, what are the precise rules for deciding whether a '.' belongs to the current command or to the enclosing paragraph? If you can state an unambiguous rule for making that decision, you can probably force ANTLR to do it. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.