bison-patches
[Top][All Lists]
Advanced

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

ylwrap does not rename y.tab.h in y.tab.c (was: yacc.c: instead of dupli


From: Akim Demaille
Subject: ylwrap does not rename y.tab.h in y.tab.c (was: yacc.c: instead of duplicating y.tab.h inside y.tac.c, include it)
Date: Wed, 20 Jun 2012 07:26:47 +0200

Le 15 juin 2012 à 13:34, Akim Demaille a écrit :

> I installed it, and some more tests, in maint, as follows.

> 
> From 0f11eec272453d5646e5aeda135650b4fb8ac33d Mon Sep 17 00:00:00 2001
> From: Akim Demaille <address@hidden>
> Date: Tue, 12 Jun 2012 16:15:14 +0200
> Subject: [PATCH 1/2] yacc.c: instead of duplicating y.tab.h inside y.tac.c, 
> include it.

We have a problem with this change (which can be seen if
you make check in master): as far as I can tell, ylwrap,
which goes via y.tab.c and y.tab.h, does _not_ change the
occurrences of y.tab.h in y.tab.c.  So in the end, the
parser implementation file foo.c includes y.tab.h instead of
foo.h.

This is Automake 1.12.1, ylwrap 2011-08-25.18.

Because of this, it is unclear to me whether we can leave that
change, users would face the same issue as bison-master :(
And it does not seem acceptable that Bison 2.6 mandates Automake
1.12.2 or whatever.

Any suggestion?  In particular a workaround (for Makefile.am)
which would work for both older and newer Automakes.




reply via email to

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