From 298dbf055d6fb5909c60506caa96bef5b0f39edc Mon Sep 17 00:00:00 2001 From: Ted Reed Date: Mon, 17 Aug 2009 14:01:32 -0700 Subject: [PATCH] foo++ and foo-- don't exist in Ruby --- src/parser/grammar.pg | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/parser/grammar.pg b/src/parser/grammar.pg index 897ca82..c17c80e 100644 --- a/src/parser/grammar.pg +++ b/src/parser/grammar.pg @@ -551,12 +551,6 @@ proto 'infix:/' is equiv('infix:*') { ... } proto 'infix:%' is equiv('infix:*') is pirop('mod') { ... } -proto 'postfix:++' is tighter('infix:*') - is pirop('n_add') { ... } - -proto 'postfix:--' is tighter('infix:*') - is pirop('n_sub') { ... } -# #proto 'prefix:+' is tighter('infix:*') { ... } #proto 'prefix:-' is equiv('prefix:+') { ... } #proto 'prefix:!' is equiv('prefix:+') { ... }