Index: lib/Parse/RecDescent.pm =================================================================== --- lib/Parse/RecDescent.pm.orig +++ lib/Parse/RecDescent.pm @@ -2803,6 +2803,7 @@ sub _check_grammar ($) sub _code($) { my $self = shift; + $skip = "" if(! defined $skip); my $code = qq{ package $self->{namespace}; use strict;