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 {