98e4e0d864
* Updated version number because versioning is a neverending nightmare in Perl 5 (thanks Matt) * Removed all references to /opts version of perl interpreter * Added Parse::RecDescent::redirect_reporting_to() to enable ERROR, TRACE, and TRACECONTEXT filehandles to be easily redirected. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-RecDescent?expand=0&rev=12
13 lines
344 B
Diff
13 lines
344 B
Diff
Index: lib/Parse/RecDescent.pm
|
|
===================================================================
|
|
--- lib/Parse/RecDescent.pm.orig
|
|
+++ lib/Parse/RecDescent.pm
|
|
@@ -2808,6 +2808,7 @@ sub _check_grammar ($)
|
|
sub _code($)
|
|
{
|
|
my $self = shift;
|
|
+ $skip = "" if(! defined $skip);
|
|
my $code = qq{
|
|
package $self->{namespace};
|
|
use strict;
|