Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Action for empty set
  • Loading branch information
lizmat committed Sep 28, 2013
1 parent c779e6f commit 2813ce9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Perl6/Actions.nqp
Expand Up @@ -3896,6 +3896,10 @@ class Perl6::Actions is HLL::Actions does STDActions {
make QAST::Op.new( :op('call'), :name('&term:<time>'), :node($/) );
}

method term:sym<>($/) {
make QAST::Op.new( :op('call'), :name('&set'), :node($/) );
}

method term:sym<rand>($/) {
make QAST::Op.new( :op('call'), :name('&rand'), :node($/) );
}
Expand Down

0 comments on commit 2813ce9

Please sign in to comment.