Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix double-gather bug.
  • Loading branch information
pmichaud committed Jul 21, 2010
1 parent 3176182 commit ac0987c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Perl6/Actions.pm
Expand Up @@ -547,8 +547,7 @@ method statement_prefix:sym<do>($/) {
}

method statement_prefix:sym<gather>($/) {
my $past := $<blorst>.ast;
$past.blocktype('declaration');
my $past := block_closure($<blorst>.ast);
make PAST::Op.new( :pasttype('call'), :name('!GATHER'), $past );
}

Expand Down

0 comments on commit ac0987c

Please sign in to comment.