[antlr-interest] No lexer generated

Juancarlo Añez apalala at gmail.com
Thu Nov 15 16:59:15 PST 2012


So? Is there any reason why ANTLR won't generate a lexer for a combined
grammar?


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