[antlr-interest] Re: Help on syntactic predicate
lgcraymer
lgc at mail1.jpl.nasa.gov
Fri Dec 12 00:39:23 PST 2003
Hmm. That should have worked. The alternative way to do the same
thing is to add a
protected
ALPHANUM : ;
definition to the lexer.
--Loring
--- In antlr-interest at yahoogroups.com, "kelvin7600"
<kelvin7600 at y...> wrote:
> Hi Loring
>
> Do you mean adding the lines
>
> tokens {
> ALPHANUM;
> }
>
> to the lexer just after "options"? This doesn't work.
>
>
> --- In antlr-interest at yahoogroups.com, "lgcraymer" <lgc at m...>
wrote:
> > Kevin--
> >
> > Add a "tokens" section to the lexer which defines ALPHANUM as a
> > valid token type. That should help.
> >
> > --Loring
> >
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list