Skip to content

Commit

Permalink
return feature to remove blank lines and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Feb 21, 2024
1 parent 009331c commit 9c2874d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Zarn/AST.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ package Zarn::AST {
if ($file && $rules) {
my $document = PPI::Document -> new($file);

# $document -> prune("PPI::Token::Pod");
# $document -> prune("PPI::Token::Comment");
$document -> prune("PPI::Token::Pod");
$document -> prune("PPI::Token::Comment");

foreach my $token (@{$document -> find("PPI::Token")}) {
foreach my $rule (@{$rules}) {
Expand Down

0 comments on commit 9c2874d

Please sign in to comment.