develooper Front page | perl.cvs.parrot | Postings from November 2008

[svn:parrot] r32618 - trunk/languages/perl6/src/parser

From:
pmichaud
Date:
November 13, 2008 08:23
Subject:
[svn:parrot] r32618 - trunk/languages/perl6/src/parser
Message ID:
20081113162333.58982CB9AF@x12.develooper.com
Author: pmichaud
Date: Thu Nov 13 08:23:31 2008
New Revision: 32618

Modified:
   trunk/languages/perl6/src/parser/grammar-oper.pg

Log:
[rakudo]:  Fix ?? !! associativity (RT #57980, chrisdolan++)
* Patch courtesy Chris Dolan


Modified: trunk/languages/perl6/src/parser/grammar-oper.pg
==============================================================================
--- trunk/languages/perl6/src/parser/grammar-oper.pg	(original)
+++ trunk/languages/perl6/src/parser/grammar-oper.pg	Thu Nov 13 08:23:31 2008
@@ -135,7 +135,7 @@
     { ... }
 
 ## conditional
-proto ternary:<?? !!> is precedence('j=') is pasttype('if') { ... }
+proto ternary:<?? !!> is precedence('j=') is pasttype('if') is assoc('right') { ... }
 
 ## item assignment
 proto infix:<:=> is precedence('i=') is pasttype('bind') { ... }



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About