At 12:45 10/04/2009, Des Hartman wrote: >1) =-5+4 >2) -5+4 [...] >cell >: formula EOF >| EOF >; > >formula >: EQ expression >| PLUS expression >| MINUS expression >;
Instead just use this: cell : formula? EOF ; formula : EQ? expression ; 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 [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 -~----------~----~----~----~------~----~------~--~---
