bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove YYFAIL from lalr1.java and yacc.c


From: Paolo Bonzini
Subject: Re: remove YYFAIL from lalr1.java and yacc.c
Date: Tue, 22 Dec 2009 09:18:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 12/21/2009 10:04 PM, Joel E. Denny wrote:
I couldn't find any more uses of YYFAIL with %error-verbose, but then I
remembered that `#define YYERROR_VERBOSE' is the same as %error-verbose.
I count 2 legitimate hits other than GNU Smalltalk:

   
http://www.google.com/codesearch?hl=en&lr=&q=YYFAIL+YYERROR_VERBOSE+file%3A\.y%24&sbtn=Search

So for now, I don't think there's any case for which we can remove YYFAIL
from yacc.c.

Right.  Your patches look fine.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]