Skip to content

Commit

Permalink
<!!{ }> blocks should create Bool context
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Oct 24, 2010
1 parent 1e0277e commit 9895e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RxOp.pm
Expand Up @@ -796,8 +796,8 @@ use CgOp;
sub code {
my ($self, $body) = @_;
CgOp::ncgoto('backtrack', CgOp::unbox('bool', CgOp::fetch(
CgOp::subcall(CgOp::fetch($self->block->cgop($body)),
CgOp::newscalar(CgOp::rxcall("MakeCursor"))))));
CgOp::methodcall(CgOp::subcall(CgOp::fetch($self->block->cgop($body)),
CgOp::newscalar(CgOp::rxcall("MakeCursor"))), "Bool"))));
}

sub lad {
Expand Down

0 comments on commit 9895e91

Please sign in to comment.