On Mon, 21 Dec 2009, Paolo Bonzini wrote: > > I'd like to push the first patch to master, branch-2.5, and branch-2.4.2 > > in order to formally deprecate YYFAIL. > > I'm fine with removing it at once from the Java parser
OK, I'll make that adjustment. > , and I think that > breaking YYFAIL now for %error-verbose is fine too. Google code search turns up an instance where both are used: http://www.google.com/codesearch?hl=en&lr=&q=%25error-verbose+YYFAIL+file%3A\.y&sbtn=Search I'm afraid there may be more instances that are not online. > However, I'm afraid that > without verbose errors we should keep it indefinitely though undocumented, so > there's probably no point in warning. I agree we may have to keep it for a long time, but hopefully the warning will prompt users to explore at least why YYFAIL is deprecated. Maybe I should make the warning even stronger by saying that YYFAIL will eventually be removed.
