Bug 187872 - Errors using Parse::RecDescent
Summary: Errors using Parse::RecDescent
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Parse-RecDescent
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-05 07:31:56 UTC
Type: ---
Embargoed:


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):
1.94-5.2

How reproducible:

Consistently.

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.