On Tuesday 18 November 2008 17:05:44 Sam Harwell wrote: > You might try the following: > > : NumberFormat > > ( POINT NumberFormat POINT NumberFormat POINT NumberFormat {$type = > IP;} > ( SLASH NumberFormat {$type = IPNET;} > )? > )? > ; >
nice, it's the first try with antlr, I haven't known then $type = token thing thanks, Michael 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 il-antlr-interest@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---