Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
unbust term:<∅> for usage as empty set
  • Loading branch information
FROGGS committed Aug 4, 2014
1 parent 225b5e0 commit 54b4503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -4150,7 +4150,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
make QAST::Op.new( :op('call'), :name('&term:<time>'), :node($/) );
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -2817,7 +2817,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {

token term:sym<time> { <sym> <.end_keyword> }

token term:sym<<∅>> { <sym> <.end_keyword> }
token term:sym<empty_set> { "\x2205" <!before <[ \( \\ ' \- ]> || \h* '=>'> }

token term:sym<rand> {
<sym> »
Expand Down

0 comments on commit 54b4503

Please sign in to comment.