From 4d786d21e3e80a70554c3fed7aa39e8ec7922b44 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Nov 2009 05:25:08 +0000 Subject: * removed spaces just before tabs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index 975bbbe2cf..0f8ff7a67f 100644 --- a/re.c +++ b/re.c @@ -113,7 +113,7 @@ rb_memsearch_ss(const unsigned char *xs, long m, const unsigned char *ys, long n if (m > SIZEOF_VALUE) rb_bug("!!too long pattern string!!"); - /* Prepare hash value */ + /* Prepare hash value */ for (hx = *x++, hy = *y++; x < xe; ++x, ++y) { hx <<= CHAR_BIT; hy <<= CHAR_BIT; @@ -356,7 +356,7 @@ rb_reg_expr_str(VALUE str, const char *s, long len) } else if (c == -1) { int l = mbclen(p, pend, enc); - rb_str_buf_cat(str, p, l); + rb_str_buf_cat(str, p, l); p += l; continue; } @@ -526,9 +526,9 @@ rb_reg_to_s(VALUE re) rb_enc_get(re), OnigDefaultSyntax); if (r == 0) { - ++ptr; - len -= 2; - err = (onig_compile(rp, ptr, ptr + len, NULL, NULL, 0) != 0); + ++ptr; + len -= 2; + err = (onig_compile(rp, ptr, ptr + len, NULL, NULL, 0) != 0); } onig_free(rp); } -- cgit v1.2.3