[antlr-interest] No lexer rules matched

Gavin Lambert antlr at mirality.co.nz
Fri Mar 7 00:19:53 PST 2008


At 14:51 7/03/2008, alan brown wrote:
>I've split my lexer and parser up and am using tokenVocab to tell 
>my parser where to find the lexer rules.  As follows:
>
>grammar FParser;
>
>options {tokenVocab=FLexer; backtrack=true; k=15;}

That should be "parser grammar", not just "grammar".



More information about the antlr-interest mailing list