[antlr-interest] Documentation - literals
Brian Smith
brian-l-smith at uiowa.edu
Wed Oct 16 21:04:32 PDT 2002
See the "testLiterals" option.
Here is an example
options {
testLiterals=true;
}
tokens {
"class";
}
ID: ('a'..'z')+;
David Wigg wrote:
> In the antlr documentation there is a reference under "Keywords
> and Literals" to a "literal" option (to specify a particular
> word is a literal and therefore can be distinguished from a
> variable).
>
> On clicking it you are taken to "Options"
>
> However, I cannot see any further reference to a "literal"
> option, it is not listed in the list of options and the antlr
> tool does not seem to recognise a "literal" option.
>
> Does it in fact exist?
>
> If it does exist how do you use it?
>
> Thanks.
>
> David.
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list