[antlr-interest] No lexer generated
Juancarlo Añez
apalala at gmail.com
Thu Nov 15 17:29:26 PST 2012
Sam,
On Thu, Nov 15, 2012 at 8:35 PM, Sam Harwell <sam at tunnelvisionlabs.com>wrote:
> It should generate the lexer as long as the composite grammar has at least
> one lesser rule defined directly in it (not imported). You can create a
> dummy fragment rule for this to keep out from affecting the behavior of
> your lexer . This is an ANTLR 3 limitation.
Thank you!
Defining something lexical in the main grammar solved it.
--
Juancarlo *Añez*
More information about the antlr-interest
mailing list