[antlr-interest] syntactic predicates in the lexer

Matt Barringer mbarringer at suse.de
Tue Aug 14 13:34:58 PDT 2007


On Sat, 11 Aug 2007, Jim Idle wrote:

> So, here you have a number of tokesn that start with '#' (well, 2 I
> guess) and the key is to key one rule from the '#' and then set the
> token type once you discover what comes next:

That worked perfectly, thanks!

Matt


More information about the antlr-interest mailing list