Re: [PATCH] yacc: fix VPATH builds with FreeBSD make

2011-01-28 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 28, 2011 at 01:51:40PM CET: > On Thursday 27 January 2011, Ralf Wildenhues wrote: > > Does 'make -n' create files (for any target)? > > > No, and I've updated the `yaccdry.test' testcase to also check for this > (see attached amended patch). Thanks. > > How d

Re: [PATCH] {yacc-work} tests: remove redundancy from silent lex/yacc tests

2011-01-28 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 28, 2011 at 05:06:51PM CET: > Finally a testsuite patch that offers a simplification rather > than a complication (at least IMHO). The ChangeLog entry below > should explain the details. > > OK for the 'yacc-work' branch? I will push in 72 hours if > there's

[PATCH] {yacc-work} configure: look for a lex program to be used by the testsuite

2011-01-28 Thread Stefano Lattarini
This will allow the testcases requiring a 'lex' program to run also with vendor/legacy lex implementations, not only with 'flex'. * configure.ac: Look for a lex program, using AC_CHECK_PROGS. * tests/defs.in: New required entry 'lex'. ($LEX): Let the user override the lex program to be used by the

[PATCH] {yacc-work} coverage: more on 'yacc -d' and recovery from deleted headers

2011-01-28 Thread Stefano Lattarini
OK for the 'yacc-work' branch? I will push in 72 hours if there's no objection. Regards, Stefano -*-*- coverage: more on 'yacc -d' and recovery from deleted headers * tests/yacc-deleted-headers.test: New test. * tests/Makefile.am (TESTS): Update. --- ChangeLog |6

[PATCH] {yacc-work} tests: remove redundancy from silent lex/yacc tests

2011-01-28 Thread Stefano Lattarini
Hello automakers. Finally a testsuite patch that offers a simplification rather than a complication (at least IMHO). The ChangeLog entry below should explain the details. OK for the 'yacc-work' branch? I will push in 72 hours if there's no objection. Regards, Stefano -*-*- tests: remove r

[PATCH] {yacc-work} yacc: extension of headers modelled after extension of sources

2011-01-28 Thread Stefano Lattarini
Hello automakers. The reasons of this patch should be explained in details in the ChangeLog entry (see below). OK for the 'yacc-work' branch? Regards, Stefano -*-*- With this change, if '-d' is in *YFLAGS, a yacc input file named foo.y++ will cause a foo.h++ header to be generated, instead

Re: [PATCH] yacc: fix VPATH builds with FreeBSD make (was: Re: bug#7884: Yacc and FreeBSD make in VPATH builds)

2011-01-28 Thread Stefano Lattarini
On Thursday 27 January 2011, Ralf Wildenhues wrote: > Does 'make -n' create files (for any target)? > No, and I've updated the `yaccdry.test' testcase to also check for this (see attached amended patch). > How do you ensure in your patch that 'make distdir' does not create files? > Well, it does,

Re: [PATCH] {maint} Warnings about primary/prefix mismatch fixed and extended. (was: Re: bug#7647: Diagnose invalid primary/directory combinations)

2011-01-28 Thread Stefano Lattarini
Ping on this? References: I've rebased the patch on latest maint, and improved the comments in the testcase `primary-prefix-documented-valid.test'. Below is what I've