perl-Parse-RecDescent/Parse-RecDescent-1.965001.diff
Anna Maresova 98e4e0d864 - update to 1.965001
* 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
2010-07-16 15:30:10 +00:00

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;