develooper Front page | perl.perl5.porters | Postings from January 2001

Re: [PATCH: perl@8342] comp/proto..........FAILED tests 112-123

Thread Previous
Jarkko Hietaniemi
January 9, 2001 09:15
Re: [PATCH: perl@8342] comp/proto..........FAILED tests 112-123
Message ID:
On Tue, Jan 09, 2001 at 12:11:16PM -0500, Andy Dougherty wrote:
> On Tue, 9 Jan 2001, Roca, Ignasi wrote:
> > Using Bison parser generator, the parser produces the message "parse error"
> > instead of "syntax error"
> > 
> > Following is a diff file of test script proto.t to avoid the test failures.
> [patch that uses Config and then looks at $Config{ccflags} to see if
> -DUSE_PURE_BISON is present ]
> I think the version below is better:  it doesn't rely on having built
> Config (which means it won't throw an error on 'make minitest') and it
> also doesn't assume that the only way to use BISON will always be via
> $Config{ccflags}.  I could easily see a user hand-editing perl.h or
> someone someday adding a new Configure variable to accomplish the same
> thing.  This patch just changes the regex to /(parse|syntax)/.

Yup, there are similar spots elsewhere, look at t/pragma/*.t for example.

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About