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

* tool/transcode-tblgen.rb (ActionMap#eql?): use == to compare @map.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-08-05 23:00:01 +00:00
parent e90dd02529
commit 2ec44b3d7f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Aug 6 07:59:02 2008 Tanaka Akira <akr@fsij.org>
* tool/transcode-tblgen.rb (ActionMap#eql?): use == to compare @map.
Wed Aug 6 07:45:26 2008 Tanaka Akira <akr@fsij.org>
* tool/transcode-tblgen.rb: show generating tables in verbose mode.

View file

@ -156,7 +156,7 @@ class ActionMap
def eql?(other)
self.class == other.class &&
@map.eql?(other.instance_eval { @map })
@map == other.instance_eval { @map }
end
alias == eql?