[antlr-interest] No lexer generated

Juancarlo Añez apalala at gmail.com
Thu Nov 15 09:08:00 PST 2012

I have a grammar that starts like this:

grammar COBOL;
options {
    language  = Python;
    backtrack = false;
    output    = AST;

import Tokens, Lexical;

And no lexer or code for Tokens or Lexical is generated.

I have the exact same setup for another grammar, and it works.

What can be happening this time?

Juancarlo *Añez*

More information about the antlr-interest mailing list