Skip to content

Commit

Permalink
Merge 68c9c8d into 2bdc1bd
Browse files Browse the repository at this point in the history
  • Loading branch information
maettu committed Mar 9, 2014
2 parents 2bdc1bd + 68c9c8d commit 6f405cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Syntax/Keyword/Gather.pm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ sub take(@) {
my $caller = caller;
croak "Call to take not inside a gather block"
unless ((caller 3)[3]||"") eq 'Syntax::Keyword::Gather::gather';
@_ = $_ unless @_;
push @{$gatherers{$caller}[-1]}, @_;
return 0+@_;
}
Expand Down

0 comments on commit 6f405cd

Please sign in to comment.