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

Terence Parr parrt at cs.usfca.edu
Thu Jul 27 12:04:45 PDT 2006


On Jul 27, 2006, at 1:56 AM, Oliver Zeigermann wrote:
>> Wow!  Oh, that's a lexer rule with ! in it.  Illegal.  Remove and it
>> should work.
>
> But what about the effect David wanted to have, namely strip the
> quotes from the lexer token. How to achieve that? Is it possible to
> send single charactes to a different (e.g. 99) channel?

There was a very big discussion on this earlier.   I decided to  
require an action to deal with this :)
Ter




More information about the antlr-interest mailing list