[antlr-interest] How to ignore input in tree grammar?

Terence Parr parrt at cs.usfca.edu
Fri Mar 6 13:26:52 PST 2009


This should be in 3.1.3-SNAPSHOT via maven (latest build).

http://www.antlr.org/wiki/display/~admin/2008/10/23/tree+pattern 
+matching+grammars

check this out...

It will not be officially supported and 3.1.3 but it will be available  
in the snapshots for Java folks.

Ter
On Mar 6, 2009, at 1:24 PM, Erich Behmen wrote:

> Hello,
>
> i want create a second tree grammar that should only look for special
> code and ignore anything else.
> When i try to execute the second tree grammar i get error like: no
> viable alternative at input...
> I want just skip this input, because only the first tree grammar has  
> to
> undersand it and make some action the input.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list