Skip to content

Commit

Permalink
Make exponentiation right associative, as per STD.pm.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Jan 11, 2010
1 parent 3f06c7e commit f790e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -850,7 +850,7 @@ token circumfix:sym<sigil> { <sigil> '(' ~ ')' <semilist> }
INIT {
Perl6::Grammar.O(':prec<y=>, :assoc<unary>', '%methodcall');
Perl6::Grammar.O(':prec<x=>, :assoc<unary>', '%autoincrement');
Perl6::Grammar.O(':prec<w=>, :assoc<left>', '%exponentiation');
Perl6::Grammar.O(':prec<w=>, :assoc<right>', '%exponentiation');
Perl6::Grammar.O(':prec<v=>, :assoc<unary>', '%symbolic_unary');
Perl6::Grammar.O(':prec<u=>, :assoc<left>', '%multiplicative');
Perl6::Grammar.O(':prec<t=>, :assoc<left>', '%additive');
Expand Down

0 comments on commit f790e5a

Please sign in to comment.