Skip to content

Commit

Permalink
make it possible to use a pre-existing parser to test
Browse files Browse the repository at this point in the history
  • Loading branch information
hdp authored and theory committed Dec 4, 2009
1 parent d5ecd49 commit 8ad7a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ sub _out {
"\nAbout to parse source: {{\n$_[0]\n}}\n\n";


my $parser = $class->new;
my $parser = ref $class && $class->isa(__PACKAGE__) ? $class : $class->new;
$parser->hide_line_numbers(1);

my $out = '';
Expand Down

0 comments on commit 8ad7a93

Please sign in to comment.