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

[svn:parrot] r33814 - trunk/languages/ecmascript/src/parser

From:
tewk
Date:
December 11, 2008 15:01
Subject:
[svn:parrot] r33814 - trunk/languages/ecmascript/src/parser
Message ID:
20081211230058.1A7E8CB9AF@x12.develooper.com
Author: tewk
Date: Thu Dec 11 15:00:57 2008
New Revision: 33814

Modified:
   trunk/languages/ecmascript/src/parser/grammar.pg

Log:
[js] changed n_add to add


Modified: trunk/languages/ecmascript/src/parser/grammar.pg
==============================================================================
--- trunk/languages/ecmascript/src/parser/grammar.pg	(original)
+++ trunk/languages/ecmascript/src/parser/grammar.pg	Thu Dec 11 15:00:57 2008
@@ -452,12 +452,12 @@
 proto 'infix:>>'  is equiv('infix:<<')   { ... }
 proto 'infix:>>>' is equiv('infix:<<')   { ... }
 
-proto 'infix:+' is tighter('infix:<<') is pirop('n_add') { ... }
-proto 'infix:-' is equiv('infix:+')    is pirop('n_sub') { ... }
+proto 'infix:+' is tighter('infix:<<') is pirop('add') { ... }
+proto 'infix:-' is equiv('infix:+')    is pirop('sub') { ... }
 
-proto 'infix:*' is tighter('infix:+')  is pirop('n_mul') { ... }
-proto 'infix:/' is equiv('infix:*')    is pirop('n_div') { ... }
-proto 'infix:%' is equiv('infix:*')    is pirop('n_mod') { ... }
+proto 'infix:*' is tighter('infix:+')  is pirop('mul') { ... }
+proto 'infix:/' is equiv('infix:*')    is pirop('div') { ... }
+proto 'infix:%' is equiv('infix:*')    is pirop('mod') { ... }
 
 
 rule unary_expression {



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