[antlr-interest] weird internal false problem
Gavin Lambert
antlr at mirality.co.nz
Thu Sep 25 04:34:53 PDT 2008
At 09:12 25/09/2008, Werner Punz wrote:
>ALPHA : ('A'..'Z'|'a'..'z'|'_'|'-');
[...]
>So far so good but if I feed it with following input
>
>public class xxx {
> public void hello() {
> int myvar "hello world"
>dfadf
>adf
>/*TPL
>dddd
>TPL*/
>DDD
>
>It resolves everything properly as exected but I get following
>output on the console:
>
>line 4:3 mismatched character 'd' expecting 'l'
Add a + to the end of the ALPHA rule.
More information about the antlr-interest
mailing list