1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y: Remove +(binary) and -(binary) special cases [Feature #9048]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2013-10-24 12:58:54 +00:00
parent ec9ec26430
commit 8afbb0e6ef
3 changed files with 6 additions and 3 deletions

View file

@ -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:

View file

@ -10147,8 +10147,6 @@ static const struct {
} op_tbl[] = {
{tDOT2, ".."},
{tDOT3, "..."},
{'+', "+(binary)"},
{'-', "-(binary)"},
{tPOW, "**"},
{tDSTAR, "**"},
{tUPLUS, "+@"},

View file

@ -1230,7 +1230,7 @@ class TestM17N < Test::Unit::TestCase
def test_symbol_op
ops = %w"
.. ... + - +(binary) -(binary) * / % ** +@ -@ | ^ & ! <=> > >= < <= ==
.. ... + - * / % ** +@ -@ | ^ & ! <=> > >= < <= ==
=== != =~ !~ ~ ! [] []= << >> :: `
"
ops.each do |op|