diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parse.y | 2 | ||||
-rw-r--r-- | test/ruby/test_m17n.rb | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Thu Oct 24 21:57:24 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca> + + * parse.y: Remove +(binary) and -(binary) special cases + [Feature #9048] + Thu Oct 24 12:45:53 2013 Zachary Scott <e@zzak.io> * object.c: [DOC] Document first argument also takes string for: @@ -10147,8 +10147,6 @@ static const struct { } op_tbl[] = { {tDOT2, ".."}, {tDOT3, "..."}, - {'+', "+(binary)"}, - {'-', "-(binary)"}, {tPOW, "**"}, {tDSTAR, "**"}, {tUPLUS, "+@"}, diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index 7c37c8a199..3ea346f025 100644 --- a/test/ruby/test_m17n.rb +++ b/test/ruby/test_m17n.rb @@ -1230,7 +1230,7 @@ class TestM17N < Test::Unit::TestCase def test_symbol_op ops = %w" - .. ... + - +(binary) -(binary) * / % ** +@ -@ | ^ & ! <=> > >= < <= == + .. ... + - * / % ** +@ -@ | ^ & ! <=> > >= < <= == === != =~ !~ ~ ! [] []= << >> :: ` " ops.each do |op| |