Skip to content

Commit

Permalink
Make minmax have list_infix precedence.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Apr 27, 2010
1 parent 0a04ef3 commit f8987e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1687,7 +1687,6 @@ token infix:sym<^^> { <sym> <O('%tight_or, :pasttype<xor>')> }
token infix:sym<//> { <sym> <O('%tight_or, :assoc<left>, :pasttype<def_or>')> }
token infix:sym<min> { <sym> <O('%tight_or')> }
token infix:sym<max> { <sym> <O('%tight_or')> }
token infix:sym<minmax> { <sym> <O('%tight_or')> }

token infix:sym<?? !!> {
'??'
Expand All @@ -1708,6 +1707,7 @@ token infix_prefix_meta_operator:sym<R> { <sym> <infixish> <O=.copyO('infixish')
token infix_prefix_meta_operator:sym<S> { <sym> <infixish> <O=.copyO('infixish')> }
token infix_prefix_meta_operator:sym<X> { <sym> <infixish> <O('%list_infix')> }
token infix_prefix_meta_operator:sym<Z> { <sym> <infixish> <O('%list_infix')> }
token infix:sym<minmax> { <sym> <O('%list_infix')> }

token infix:sym<:=> {
<sym> <O('%item_assignment, :reducecheck<bindish_check>')>
Expand Down

0 comments on commit f8987e4

Please sign in to comment.