Skip to content

Commit

Permalink
infix:<**> should be right associative; patch courtesy of bacek++.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 18, 2009
1 parent 8fef096 commit 75ea93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/grammar-oper.pg
Expand Up @@ -9,7 +9,7 @@ proto prefix:<--> is equiv(postfix:<++>) is lvalue(1) { ... }
proto postfix:<i> is equiv(postfix:<++>) { ... }

## exponentiation
proto infix:<**> is precedence('w=') { ... }
proto infix:<**> is precedence('w=') is assoc('right') { ... }

## symbolic unary
proto prefix:<+> is precedence('v=') { ... }
Expand Down

0 comments on commit 75ea93f

Please sign in to comment.