[antlr-interest] Re: charVocab
nagii5
nagii5 at yahoo.com
Sun Feb 3 14:34:39 PST 2002
oops.... that was silly on my part..
thanks for the quick response..
i appreciate it..
-nagesh
--- In antlr-interest at y..., Terence Parr <parrt at j...> wrote:
> On Sunday, February 3, 2002, at 01:00 PM, nagii5 wrote:
>
> > Gurus,
> > I had a question about the usage of charVocabulary.
> >
> > i specified the following in my .g but still havent been
> > aable to get antlr to recognize characters like
> > '(' ')' '*' '/'
> >
> > im using antlr (2.7.0)
> > heres some grammer i used..... assuming DECLARATION is one on the
list
> > of TOKENs.
> >
> > options {
> > charVocabulary='3'..'\uffff';
>
> Use '\3' not '3', which is 0x33 hence you miss everything before
like
> parens. ;)
>
> Ter
> --
> Chief Scientist & Co-founder, http://www.jguru.com
> Creator, ANTLR Parser Generator: http://www.antlr.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list