[antlr-interest] Re: check tokens for whitespace?
Ric Klaren
klaren at cs.utwente.nl
Tue Oct 5 17:13:44 PDT 2004
Hi,
Just had a quick peek at the codegenerator, I did not directly see a way
this could happen. So could you please post a minimal grammar that exposes
the problem ?
Cheers,
Ric
On Tue, Oct 05, 2004 at 11:36:32PM -0000, mazypath wrote:
> Right. I mentioned this earlier in the thread. I also want to
> specify an AST for my tokens. I should be able to do this in the
> tokens block as so:
> tokens {
> FUNC_SIN="sin"<AST=my.ast.SinClass>;
...
> tokenTypeToASTClassMap.put(new Integer("sin"), my.ast.SinClass);
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893755 ----
-----+++++*****************************************************+++++++++-------
"You know how to use that thing?" [pointing to the sword]
"Sure.. The pointy end goes into the other guy."
--- The Mask of Zorro
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list