Skip to content

Commit

Permalink
Bare parens should return Nil. TimToady++
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jun 12, 2009
1 parent 86aeafb commit a2b8ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/actions.pm
Expand Up @@ -2101,7 +2101,7 @@ method circumfix($/, $key) {
if $key eq '( )' {
$past := $<statementlist><statement>
?? $<statementlist>.ast
!! PAST::Op.new(:name('list'));
!! PAST::Op.new(:pirop('new Ps'), 'Nil');
}
if $key eq '[ ]' {
$past := PAST::Op.new(:name('circumfix:[ ]'), :node($/) );
Expand Down

0 comments on commit a2b8ceb

Please sign in to comment.