[antlr-interest] Re: Newbie - Help with keywords and IDs

Lubos Vnuk lubos.vnuk at rts.at
Fri Jun 20 04:35:48 PDT 2003


Hi,

what I do in these cases is put the FP, LP...
directly as alternatives into the TX rule.
Then add {$setType(YOURTOKEN);} action to each alternative.
And increase the lookahead properly. Might help.

Lubos.



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list