[antlr-interest] paraphrase without lexer
Silvain Piree
s.piree at enneya.com
Fri Apr 12 08:49:10 PDT 2002
Hi,
I'm using Antlr to create a parser, but because I'm not using the lexer
support of Antlr, I can't seem to specify a "paraphrase" for a token
(which is used when issueing a syntax error).
Does anyone know if it's possible to specify a paraphrase in the
parser, instead of in the lexer?
e.g.
tokens {
MYTOKEN (options {paraphrase="my token"})
}
Silvain
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list