Skip to content

Commit

Permalink
make <=> and cmp work
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed May 18, 2013
1 parent 97e0316 commit eb379b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Perl5/Grammar.nqp
Expand Up @@ -3548,10 +3548,10 @@ grammar Perl5::Grammar is HLL::Grammar does STD5 {

## comparisons
token infix:sym«<=>»
{ <sym> <?{ $<O><returns> := "Order"; }> <O('%comparison')> }
{ <sym> <O('%comparison')> }

token infix:sym<cmp>
{ <sym> <?{ $<O><returns> := "Order"; }> <O('%comparison')> }
{ <sym> <O('%comparison')> }


token infix:sym«<»
Expand Down

0 comments on commit eb379b1

Please sign in to comment.