[Top][All Lists]
[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.
Message not available
Message not available
- Message not available
- Message not available
- Message not available
- RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/12
- Re: RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/12
- Re: RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the header), Akim Demaille, 2012/06/13
- Re: yacc.c: instead of duplicating y.tab.h inside y.tac.c, include it (was: RFC: yacc.c: factor), Akim Demaille, 2012/06/15
- 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),
Akim Demaille <=
- Re: 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), Akim Demaille, 2012/06/25
- Re: ylwrap does not rename y.tab.h in y.tab.c, Stefano Lattarini, 2012/06/25
- [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Stefano Lattarini, 2012/06/25
- Re: [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Akim Demaille, 2012/06/26
- Re: [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Stefano Lattarini, 2012/06/26
- Re: [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Akim Demaille, 2012/06/26
- Re: [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Eric Blake, 2012/06/26
- Re: [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Akim Demaille, 2012/06/26
- Re: [PATCH] yacc, lex: new 'no-ylwrap' option to prevent use of the 'ylwrap' script, Stefano Lattarini, 2012/06/26
Re: ylwrap does not rename y.tab.h in y.tab.c, Akim Demaille, 2012/06/26