[antlr-interest] antlrdev woes

Terence Parr parrt at cs.usfca.edu
Wed Nov 29 11:35:39 PST 2006


Hi. we recently changed channel= to $channel.  Jean, did you update  
AW to see the new style?

Regardless, you can tell AW which rules are whitespace manually. :)

Ter
On Nov 29, 2006, at 11:22 AM, Jamie Briant wrote:

> I downloaded ANTLRWorks version 1.0b6 and also the antlr examples  
> (examples-v3). However, in ANTLRWorks the interpreter chokes on the  
> tweak grammar (T.g). It looks like it doesn’t understand the hidden  
> directive in the white space rule:
>
>
> WS  :   (' '|'\t'|'\n')+ {$channel=HIDDEN;}
>
>     ;
>
>
> I haven’t been following v3 development. Is this a new addition  
> that ANTLRWorks isn’t aware of, and if so what do I need to do to  
> get these examples to work?
>
>
> Jamie
>
>



More information about the antlr-interest mailing list