[antlr-interest] need some advice

Dietmar Schaefer dietmar-s at online.de
Fri Apr 9 02:37:48 PDT 2010


On 04/09/2010 12:02 PM, Christian Mayer wrote:
> Hi,
>
> If you send whitespaces to the hidden channel (in the lexer rules = upper
> case) you don't have to care about them in the parser rules (=lower case).
>
> Try something like:
>
> SequenceStatement : 'DefSequence' ID '{' VALUE '}' ';'? ;
>
> Cheers,
> Chris
>
>
>
> On 4/9/10 9:56 AM, "Dietmar Schaefer"<dietmar-s at online.de>  wrote:
>
>    
Hi Chris !

Right  - but it didn't solve the problem :-(


any more advices ?


regards


Dietmar



More information about the antlr-interest mailing list