Not possible at the moment other than specifically setting k=1 for the decision (which works for a lot), or stating a one token predicate to stop ANTLR complaining. There are better options in mind for ANTLR 4
Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Kunal Sawlani > Sent: Tuesday, November 23, 2010 6:40 AM > To: [email protected] > Subject: [antlr-interest] Suppress Ambiguous Warnings in grammar rules > > Hi, > > I wanted to know if there was a way to suppress ambiguity warnings in > ANTLR grammar. > > I did notice that there was a generateAmbigWarnings options in ANTLR 2, > but this does not seem to work in ANTLR 3. > > Thanks > -- > Kunal > > 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 [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.
