This didn't work for me.  The '.' will only match real or imaginary
tokens and not UPs or DOWNs so this works as long as there are no
subtrees.  In my case there are subtrees so I get a recognizer error
on an unexpected DOWN.  I tried '.' and '.+' and both got hung up on
UPs and DOWNs.

Would this be language specific?  I am using the C Runtime, but I
figured this is generic.

Am I missing something?

Thanks,

Kurt


On Wed, Sep 17, 2008 at 5:05 PM, Terence Parr <[EMAIL PROTECTED]> wrote:
>
> On Sep 17, 2008, at 3:57 PM, Kurt Otte wrote:
>
>> How can I skip a section of the token stream when using a tree grammar
>> to implement a conditional block?
>
> ^(COND . ^(IF ^(BLOCK .)))
>
> I think.
>
> Ter
>
>

List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to