On Thursday 02 October 2008 15:01, Randall R Schulz wrote: > ... > > Whether you include an empty alternative (as you showed) or make the > entire sub-rule optional, as I'd tried earlier: > > op790FormulaFlat > : (op780FormulaFlat -> op780FormulaFlat) > ( Or rDisjuncts = op790FormulaFlat) + ) > -> ^(Or $op790FormulaFlat $rDisjuncts+) > ) ? > ;
The missing paren was an editing error of some sort. Naturally, it would not compile that way. This was what I'd tried: op790FormulaFlat : (op780FormulaFlat -> op780FormulaFlat) ( ( Or rDisjuncts = op790FormulaFlat) + ) -> ^(Or $op790FormulaFlat $rDisjuncts+) ) ? ; RRS 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 -~----------~----~----~----~------~----~------~--~---