[Top][All Lists]

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

Re: remove YYFAIL from and yacc.c

From: Paolo Bonzini
Subject: Re: remove YYFAIL from and yacc.c
Date: Sun, 20 Dec 2009 11:27:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

On 12/19/2009 10:41 PM, Joel E. Denny wrote:
a. YYFAIL appears in yacc.c but is not documented for yacc.c.  Comments in
yacc.c describe it as follows:

   /* Like YYERROR except do call yyerror.  This remains here temporarily
      to ease the transition to the new meaning of YYERROR, for GCC.
      Once GCC version 2 has supplanted version 1, this can go.  */

In other words, we've been planning to get rid of it for a long while.
(However, is there any evidence that users actually use it?  Do we need to
poll them or warn them somehow?)

No problems for me for; for yacc.c however we have some uses:

Some of them are my own GNU Smalltalk (no problem, I now switched to recursive descent) and of course GCC 1. However there are still about 5-6 other users. I don't think it's reasonably possible for YYFAIL to die anytime soon.


reply via email to

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