[antlr-interest] Re: Help with Java grammar
Ric Klaren
klaren at cs.utwente.nl
Thu Mar 11 07:55:10 PST 2004
On Thu, Mar 11, 2004 at 04:51:54PM +0100, Ric Klaren wrote:
> c) Antlr should warn if you set the charVocabulary to '\u0003'..'\uFFFF';
> then it includes EOF. Which of course gets automagically added if you
> use ~ constructs.
>
> So there's another easy fix e.g. limiting the charVocabulary of the lexer
> to:
>
> charVocabulary='\u0003'..'\u7FFF';
I forgot... And give a foot-bandage(tm) to the bloke who wrote that \uFFFF
in that vocabulary ;)
Cheers,
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
Chaos often breeds life, when order breeds habit.
--- Henry B. Adams, The Education of Henry Adams
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