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

* re.c (rb_reg_hash): must calculate hash.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-08 13:11:32 +00:00
parent 31b7ae00c0
commit bbd9c406d6

2
re.c
View file

@ -2496,7 +2496,7 @@ static st_index_t reg_hash(VALUE re);
static VALUE
rb_reg_hash(VALUE re)
{
st_index_t hashval;
st_index_t hashval = reg_hash(re);
return LONG2FIX(hashval);
}