Skip Menu |

This queue is for tickets about the Marpa-R2 CPAN distribution.

Report information
The Basics
Id: 83397
Status: resolved
Priority: 0/
Queue: Marpa-R2

People
Owner: jkegl [...] cpan.org
Requestors: feratilbeau [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.047_003
Fixed in: (no value)



Subject: Not an ARRAY reference at /usr/local/lib/perl/5.14.2/Marpa/R2/Scanless.pm line 153.
Adding something like e.g.: empty_rule ::= in a Marpa::R2::Scanless::G grammar gives the error mentionned. Exemple in attachement.
Subject: empty_rule.pl
use Marpa::R2; my $grammar = Marpa::R2::Scanless::G->new({ source => \(<<'END_OF_SOURCE'), empty_rule ::= :start ::= Number Number ~ [\d]+ END_OF_SOURCE } );
Thanks for catching this. It's fixed in the current working copy. Attached is a patch.
Subject: patch
Download patch
application/octet-stream 386b

Message body not shown because it is not plain text.