[antlr-interest] 3.1b1 (??) 2008-04-09.18 issues
Gavin Lambert
antlr at mirality.co.nz
Sat May 31 20:30:20 PDT 2008
At 06:46 1/06/2008, Sam Ellis wrote:
>I didn't see a reply to your email, but I'm seeing the same
>exception when switching from antlr 3.0.1 to 3.1b1 (May 20,
>2008). I tracked this down to my lexer rules containing the
>'!' operator for example:
>
>QUOTED_STRING
> : (DQUOTE! (DSTRING_LETTER | STRING_NL)* DQUOTE!
Yeah, ANTLR v3 has never supported ! at the lexer level (it's now
purely a tree construction operator only).
Sadly ANTLR's own syntax checking is a little vague-to-nonexistent
at present, so you just have to "know" some of these little quirks
:)
More information about the antlr-interest
mailing list