diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-18 03:51:34 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-18 03:51:34 +0000 |
commit | d77ddf33aed2177ff0be4b4fc72aaee003865198 (patch) | |
tree | 889b2cbad49c81c0ef99da191cadc70671332d39 /re.c | |
parent | 1783b7aaccf52291c5e7f84e349ad3c95a858269 (diff) |
add tests for sub/gsub with hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3152,7 +3152,8 @@ rb_reg_s_last_match(int argc, VALUE *argv) } static void -re_warn(const char* s) { +re_warn(const char *s) +{ rb_warn("%s", s); } |