Skip to content

Commit

Permalink
* Correctly handle lexicals in do {...} syntax.
Browse files Browse the repository at this point in the history
(cherry picked from commit c4f132b1998778a5b24d404f3ae2998c341350c4)
  • Loading branch information
Audrey Tang committed Jul 19, 2010
1 parent 9fe76f1 commit d9a9c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Niecza/Actions.pm
Expand Up @@ -1133,7 +1133,7 @@ sub blast { my ($cl, $M) = @_;

sub statement_prefix {}
sub statement_prefix__S_do { my ($cl, $M) = @_;
$M->{_ast} = $M->{blast}{_ast}{do};
$M->{_ast} = $cl->block_to_immediate('do', $M->{blast}{_ast});
}
sub statement_prefix__S_PREMinusINIT { my ($cl, $M) = @_;
my $var = $cl->gensym;
Expand Down

0 comments on commit d9a9c18

Please sign in to comment.