Could you post your grammar(s) and actual input? Example input containing .... is not really helpful.
Regards, Bart. On Mon, Aug 22, 2011 at 1:27 PM, Swathi V <swat...@zinniasystems.com> wrote: > Would be thankful if anyone helps me out. > > Problem : > > I have a huge file with certain categories and properties in those. > Ex: > CATEGORY1(XYZ) { > > PROPERTY1 : ..... > PROPERTY2 : .... > > } > > CATEGORY2(XYZ) { > > PROPERTY3 : ..... > PROPERTY4 : .... > > } > ...... > > > > > What i need to do is ... > i need only few categories and in that only few properties. for the rest i > gotta ignore in the file. > i have written > 1. lexer > 2. parser > and AST creation for it here > 3. to invoke the same. > > > i have also used > options { filter = true; } > > but i'm able to get the required thing. > Can anyone help me out please... with an example for the above? > > > > Thank You.. > > > > > > -- > Regards, > Swathi.V. > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/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 il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.