Skip to content

Commit

Permalink
Uncomment reduce decl, but not body yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 13, 2013
1 parent 6bbebf9 commit e9de357
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nqp-src/QRegex.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -663,17 +663,17 @@ role NQPCursorRole is export {
$!regexsub($new);
}

# method !reduce(str $name) {
method !reduce(str $name) {
# my $actions := nqp::getlexdyn('$*ACTIONS');
# nqp::findmethod($actions, $name)($actions, self.MATCH)
# if !nqp::isnull($actions) && nqp::can($actions, $name);
# }
#
# method !reduce_with_match($name, $key, $match) {
}

method !reduce_with_match($name, $key, $match) {
# my $actions := nqp::getlexdyn('$*ACTIONS');
# nqp::findmethod($actions, $name)($actions, $match, $key)
# if !nqp::isnull($actions) && nqp::can($actions, $name);
# }
}

method !shared() { $!shared }

Expand Down

0 comments on commit e9de357

Please sign in to comment.