Bug 187872 - Errors using Parse::RecDescent
Summary: Errors using Parse::RecDescent
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Parse-RecDescent
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-04-04 07:18 UTC by Braden McDaniel
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-04-05 07:31:56 UTC

Attachments (Terms of Use)

Description Braden McDaniel 2006-04-04 07:18:58 UTC
Description of problem:
I get a number of errors of this form when using Parse::RecDescent:

Use of uninitialized value in substr at
/usr/lib/perl5/vendor_perl/5.8.8/Parse/RecDescent.pm line 3033.

I get a number of similar errors in generated code, too.

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. Write a Parse::RecDescent grammar.
2. Compile it with "perl -MParse::RecDescent - ../../grammar Literally::Grammar"
3. Attempt to parse something with it.
Actual results:
Numerous errors of the aforementioned form.

Expected results:
No errors (from Parse::RecDescent code, anyway).

Additional info:
I'm not seeing this with simple examples where the grammar is not precompiled.

Comment 1 Jason Vas Dias 2006-04-04 15:54:16 UTC
Please supply example programs demonstrating the problem - thanks.

Comment 2 Braden McDaniel 2006-04-05 07:31:56 UTC
I seem to have traced the problem to more rigorous requirements for test
programs imposed by the version of Module::Build in FC5. Why that resulted in
these complaints about Parse::RecDescent code remains a mystery to me; but
modifying my test program to make Module::Build happy (i.e., using Test::Simple)
seems to have fixed the problem.

Note You need to log in before you can comment on or make changes to this bug.