I want to have one action being executed if no patterns match, like:
stat: 'SWAP' { fh.swap();} | 'DROP' { fh.drop();} | <default>{ fh.print(text);} on SWAP fh.swap() gets executed. on DROP fh.drop() and if no match i want fh.print() be called with the text that did not match anytihng else. Can someone help me wit hthis one? /mats --~--~---------~--~----~------------~-------~--~----~ 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 il-antlr-interest+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address