summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-18 03:51:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-18 03:51:34 +0000
commitd77ddf33aed2177ff0be4b4fc72aaee003865198 (patch)
tree889b2cbad49c81c0ef99da191cadc70671332d39 /re.c
parent1783b7aaccf52291c5e7f84e349ad3c95a858269 (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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/re.c b/re.c
index d8ef7b21a9..49424eb632 100644
--- a/re.c
+++ b/re.c
@@ -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);
}