Skip to content

Commit

Permalink
remove commented out debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Apr 16, 2010
1 parent 8854c2c commit fdf0569
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Partcl/commands/string.pm
Expand Up @@ -312,13 +312,6 @@ my sub is_token($string, :$rule = %String_token{$*class}) {
# as specified for double, e.g. Need $compiler.parse(:rule) to work, for that.
my $result := $compiler.parsegrammar.parse($string, :rule($rule));

# pir::load_bytecode('dumper.pbc');
# my &dumper := Q:PIR {
# %r = get_root_global ['parrot'], '_dumper'
# };
# &dumper(~$string);
# &dumper($result);

pir::length__IS(~ $result) == pir::length__IS(trim($string));
}

Expand Down Expand Up @@ -405,8 +398,6 @@ my sub match($pattern, $string, :$nocase = 0) {
$string := pir::downcase__ss($string);
}

## my &dumper := Q:PIR { %r = get_root_global ['parrot'], '_dumper' };
## &dumper(StringGlob::Compiler.compile($pattern, :target<parse>));
my $globber := StringGlob::Compiler.compile($pattern);
?Regex::Cursor.parse($string, :rule($globber), :c(0));
}
Expand Down

0 comments on commit fdf0569

Please sign in to comment.