[antlr-interest] ANTLR3.0b2 - rule STRING uses rewrite syntax or operator with no output option

David CROSSON david.crosson at wanadoo.fr
Tue Jul 18 08:57:47 PDT 2006


I got a grammar  with this rule :
...
options {
    filter=true;
    output=AST;
}
...
STRING : '"'! (~'"')* '"'! ;
...

Using latest release of ANTLR I now got this error :
"jrockit.g:246:13: rule STRING uses rewrite syntax or operator with no output option"
I'm using the ! operator elsewhere without any problem but within a lexer rule I got this strange
errormessage, no error with ea8.

best regards,
David crosson.


More information about the antlr-interest mailing list