[antlr-interest] No lexer generated

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


OK. For some reason, ANTLR wants me to name all grammar files in the
compilation, when it didin't for other grammars.

Go figure!


On Thu, Nov 15, 2012 at 12:38 PM, Juancarlo Añez <apalala at gmail.com> wrote:

> I have a grammar that starts like this:
>
> grammar COBOL;
> options {
>     language  = Python;
>     backtrack = false;
>     output    = AST;
>     ASTLabelType=CommonTree;
> }
>
> 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*
>



-- 
Juancarlo *Añez*


More information about the antlr-interest mailing list