Skip to content

Commit

Permalink
remove some clutter from Match.perl output
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jun 8, 2010
1 parent 7821618 commit acecb97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/Match.pm
Expand Up @@ -95,8 +95,7 @@ class Match is Regex::Match is Cool does Associative {
take " # WARNING: this is not working perl code\n";
take " # and for debugging purposes only\n";
}
take "$sp ast => {$.ast.perl},\n";
take "$sp Str => {$.Str.perl},\n";
take "$sp ast => {$.ast.perl},\n" unless $.ast === Any;
take "$sp from => $.from,\n";
take "$sp orig => $.orig.perl(),\n";
take "$sp to => $.to,\n";
Expand Down

0 comments on commit acecb97

Please sign in to comment.