[antlr-interest] matchRange()
Kay Röpke
kay.roepke at epublica.de
Mon Jul 31 06:06:05 PDT 2006
On 31. Jul 2006, at 14:54 Uhr, Denis Washington wrote:
> Another problem. When compiling, javac talks about an unknown
> method matchRange() used frequently in the generated code. What is
> this about?
Hi again,
this is also pointing towards that lexical analysis must be done in a
lexer. matchRange() is a method of Lexer (not BaseRecognizer).
decimalLiteral in your grammar is really a lexer rule, but gets put
into the parser because it's not named correctly. Should be
DECIMALLITERAL.
-k
More information about the antlr-interest
mailing list