Automake yacc support, GNU bison, and non-standard generated headers (was: Re: bug#7648: ylwrap appears not to support bison's lalr1.cc skeleton)

2011-05-12 Thread Stefano Lattarini
this behaviour is covered by the testsuite, which saved me from introducing a regression. Also, the Makefile fragments generated by the Yacc support in Automake have the ability to deal with the deleted header problem automatically for the standard y.tab.h file. It would be nice if they were able to do so

Re: [PATCHES] yacc: support variable expansions in *YFLAGS definition

2011-01-08 Thread Ralf Wildenhues
[ dropping the PR Cc: ] * Stefano Lattarini wrote on Fri, Jan 07, 2011 at 11:50:51PM CET: On Friday 07 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 07, 2011 at 03:36:43PM CET: Currently, automake is not smart enough to resolve variable expansions in

Re: [PATCHES] yacc: support variable expansions in *YFLAGS definition (was: Re: bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved)

2011-01-08 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 07, 2011 at 11:50:51PM CET: Subject: [PATCH 2/2] yacc: support variable expansions in *YFLAGS definition. This commit fixes automake bug#7800. OK with nits addressed. Thanks! Ralf * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive

Re: [PATCHES] yacc: support variable expansions in *YFLAGS definition (was: Re: bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved)

2011-01-08 Thread Stefano Lattarini
On Saturday 08 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 07, 2011 at 11:50:51PM CET: Subject: [PATCH 2/2] yacc: support variable expansions in *YFLAGS definition. This commit fixes automake bug#7800. OK with nits addressed. Thanks! Ralf

bug#7800: [PATCHES] yacc: support variable expansions in *YFLAGS definition (was: Re: bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved)

2011-01-07 Thread Stefano Lattarini
312acec17badbf428abf3961e081004c721b5323 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini stefano.lattar...@gmail.com Date: Fri, 7 Jan 2011 21:52:56 +0100 Subject: [PATCH 2/2] yacc: support variable expansions in *YFLAGS definition. This commit fixes automake bug#7800. * automake.in (lang_yacc_target_hook): Use

[PATCHES] yacc: support variable expansions in *YFLAGS definition (was: Re: bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved)

2011-01-07 Thread Stefano Lattarini
312acec17badbf428abf3961e081004c721b5323 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini stefano.lattar...@gmail.com Date: Fri, 7 Jan 2011 21:52:56 +0100 Subject: [PATCH 2/2] yacc: support variable expansions in *YFLAGS definition. This commit fixes automake bug#7800. * automake.in (lang_yacc_target_hook): Use

Re: [PATCH] {master} Extend, fix and improve tests on Lex and Yacc support.

2010-12-17 Thread Stefano Lattarini
. They are Good Enough[tm]. IMHO they're not. See just below. The incremental gain from more change is not worth the additional work from you nor review from me. Actually, lex and yacc support has *several* *real* issues, with maybe more than a dozen reported bugs in the last few

Re: [PATCH] {master} Extend, fix and improve tests on Lex and Yacc support.

2010-12-17 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Dec 17, 2010 at 03:33:32PM CET: On Friday 17 December 2010, Ralf Wildenhues wrote: The *current* tests are good enough for the current code. Yes, but not enough if we plan to modify that code You can add tests as you go modifying the code. Doing that is

Re: [PATCH] {master} Extend, fix and improve tests on Lex and Yacc support.

2010-12-16 Thread Ralf Wildenhues
and yacc support has *several* *real* issues, with maybe more than a dozen reported bugs in the last few years, many of them unfixed. See the list archives. It would be really nice if somebody who knows their ways around bison/yacc and flex/lex well (or is willing to learn) could look into some

Re: [PATCH] {master} Extend, fix and improve tests on Lex and Yacc support.

2010-12-16 Thread Stefano Lattarini
of such conversions: Please don't work even more on *these* tests. They are Good Enough[tm]. IMHO they're not. See just below. The incremental gain from more change is not worth the additional work from you nor review from me. Actually, lex and yacc support has *several* *real* issues, with maybe more

Re: [PATCH] {master} Extend, fix and improve tests on Lex and Yacc support.

2010-12-16 Thread Ralf Wildenhues
. Actually, lex and yacc support has *several* *real* issues, with maybe more than a dozen reported bugs in the last few years, many of them unfixed. See the list archives. Yes, but I woldn't dare trying to modify the Lex/Yacc related code with the limited understanding I have of it, without having

[PATCH] {master} Extend, fix and improve tests on Lex and Yacc support.

2010-12-13 Thread Stefano Lattarini
) if there are no objections. Regards, Stefano From 020eadb092b2ab9fce4adbe89eab784b056eb0ce Mon Sep 17 00:00:00 2001 From: Stefano Lattarini stefano.lattar...@gmail.com Date: Fri, 7 May 2010 15:07:37 +0200 Subject: [PATCH] Extend, fix and improve tests on Lex and Yacc support. * tests/lexcpp.test: New

Re: Yet another bug in Lex/Yacc support (maintainer-mode).

2010-09-17 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Thu, Sep 16, 2010 at 06:34:06PM CEST: While trying to improve and extend test `mmodely.test', I stumbled upon the bug exposed by the attached test script (weird bug, BTW: it's triggered with GNU make and FreeBSD make, but not with Solaris make; role

Yet another bug in Lex/Yacc support (maintainer-mode).

2010-09-16 Thread Stefano Lattarini
Hello Automakers. While trying to improve and extend test `mmodely.test', I stumbled upon the bug exposed by the attached test script (weird bug, BTW: it's triggered with GNU make and FreeBSD make, but not with Solaris make; role reversal for once ;-). I suspect the bug is due to some incomplete

[PATCH] {maint} Extend, fix and improve tests on Lex and Yacc support.

2010-09-08 Thread Stefano Lattarini
and Yacc support. * tests/lexcpp.test: New test script, on support for Lex + C++. * tests/lexvpath.test: New test script, test build and rebuild rules for lexers in VPATH setup. * tests/yacc1.test: New test scripte, run simple semantic checks on basic Yacc support (similarly to what lex3.test does

Yacc Support?

2007-03-02 Thread kj1nabble
this message in context: http://www.nabble.com/Yacc-Support--tf3332417.html#a9266040 Sent from the Gnu - Automake - General mailing list archive at Nabble.com.

Re: Yacc Support?

2007-03-02 Thread Tom Tromey
== kj1nabble [EMAIL PROTECTED] writes: Any thoughts? I think it has something to do with how I set up my bin in Makefile.am. You don't say how it failed... bin_PROGRAMS = app lc_SOURCES = l.l app.c g.y appgen.c You either want to have 'bin_PROGRAMS = lc', or you want to name your

Re: LEX YACC support

2002-11-12 Thread Eric Siegerman
On Sat, Nov 09, 2002 at 01:39:16PM +0200, Alexandros Karypidis wrote: Hi all, [W]henever I change my bison file to add a %token, I have to run make TWICE to get a correct build. This is because the header file with token declarations which is generated when yacc is run, also affects the

LEX YACC support

2002-11-09 Thread Alexandros Karypidis
Hi all, I am unsatisfied with the Makefile.am I have built, due to the fact that whenever I change my bison file to add a %token, I have to run make TWICE to get a correct build. This is because the header file with token declarations which is generated when yacc is run, also affects the