GNU bug report logs - #11419
Get rid of ylwrap, and simplify yacc/lex rules (was: Re: FYI: maint: fix the generation of the synclines for bison's parser)

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Sun, 6 May 2012 10:41:02 UTC

Severity: wishlist

Tags: wontfix

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 11419 <at> debbugs.gnu.org (full text, mbox):

From: Akim Demaille <akim <at> lrde.epita.fr>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: Paul Eggert <eggert <at> CS.UCLA.EDU>, Bison Bugs <bug-bison <at> gnu.org>,
	"automake-patches <at> gnu.org" <automake-patches <at> gnu.org>,
	Bison Patches <bison-patches <at> gnu.org>, 11419 <at> debbugs.gnu.org,
	Bruce Korb <bkorb <at> gnu.org>
Subject: Re: ylwrap does not rename y.tab.h in y.tab.c
Date: Tue, 26 Jun 2012 16:27:34 +0200
Hi all,

Le 25 juin 2012 à 11:30, Stefano Lattarini a écrit :

>> Well, I guess I must step back.  I installed what follows
>> in maint.
>> 
> Sigh, advancement on Bison kept back by the fact that Automake used to
> bend over backwards to support inferior yacc implementation that today
> hardly anybody is using to build an autoconfiscated package.  It's now
> definitely time to implement a 'no-ylwrap' option that prevents the use
> of 'ylwrap'.  IMHO this option should go in Automake 1.12.2, become the
> default in Automake 1.13, and the only supported mode of operation in
> Automake 1.14 (unless real users object).

But in any case, ylwrap must also be fixed, if people still
want to stick to it.  And, BTW, glr parsers, C++ parsers
etc. are broken by ylwrap currently as they all use a
header and depend upon it.

A future version of bison will use it too for plain parsers.
People stuck with an old Automake can make a "y.tab.h" file
that just #includes "the-right-header.h" to work around the
issue.





This bug report was last modified 12 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.