Skip to content

Commit

Permalink
Fix conditional with incorrect precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jul 30, 2016
1 parent 22949d8 commit 32f341b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Block.pm
Expand Up @@ -188,7 +188,7 @@ my class Block { # declared in BOOTSTRAP
#
# Until then, we will add slurpy behaviors, assuming we
# do not aready have them, if we see a capture.
my $need_cap = $sig.count == Inf and not ($slurp_p and $slurp_n);
my $need_cap = ($sig.count == Inf and not ($slurp_p and $slurp_n));
if $need_cap {
$need_cap = False;
for $sig.params.grep(*.capture) {
Expand Down

0 comments on commit 32f341b

Please sign in to comment.